From 6f4c65b107af50c7610f016c86ba99d43db9ebd3 Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Wed, 2 Sep 2026 15:15:35 +0200 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=90=9B=20Support=20Clang=2023=20in=20?= =?UTF-8?q?the=20C++=20linter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the workflow-installed toolchain for versions newer than the cpp-linter action supports while preserving the existing behavior for older versions. Assisted-by: GPT-5.6 Sol via Codex --- .github/workflows/reusable-cpp-linter.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-cpp-linter.yml b/.github/workflows/reusable-cpp-linter.yml index e3756bb..9ff6ca1 100644 --- a/.github/workflows/reusable-cpp-linter.yml +++ b/.github/workflows/reusable-cpp-linter.yml @@ -175,7 +175,8 @@ jobs: with: style: "" tidy-checks: "" - version: ${{ inputs.clang-version }} + # cpp-linter-action v2.21.0 accepts versions after 22 only as installed tool paths. + version: ${{ inputs.clang-version > 22 && format('/usr/lib/llvm-{0}/bin', inputs.clang-version) || inputs.clang-version }} ignore: ${{ format( 'build|!build/mlir/**|**/include|include{0}{1}', inputs.cpp-linter-ignore-extra != '' && '|' || '', From 708d7391a666dd9f626f070a9a09c4990b205963 Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Wed, 2 Sep 2026 15:18:04 +0200 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=93=9D=20Document=20Clang=2023=20lint?= =?UTF-8?q?er=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assisted-by: GPT-5.6 Sol via Codex --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4eae50..6380460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,11 @@ releases may include breaking changes. ## [Unreleased] +### Fixed + +- 🐛 Allow `reusable-cpp-linter.yml` callers to select Clang 23 ([#448]) + ([**@simon1hofmann**]) + ## [2.3.0] - 2026-08-24 _If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md#230)._ @@ -522,6 +527,7 @@ _📚 Refer to the [GitHub Release Notes] for previous changelogs._ +[#448]: https://github.com/munich-quantum-toolkit/workflows/pull/448 [#442]: https://github.com/munich-quantum-toolkit/workflows/pull/442 [#441]: https://github.com/munich-quantum-toolkit/workflows/pull/441 [#434]: https://github.com/munich-quantum-toolkit/workflows/pull/434 @@ -593,6 +599,7 @@ _📚 Refer to the [GitHub Release Notes] for previous changelogs._ [**@ystade**]: https://github.com/ystade [**@denialhaag**]: https://github.com/denialhaag [**@flowerthrower**]: https://github.com/flowerthrower +[**@simon1hofmann**]: https://github.com/simon1hofmann From c032cc32bc19f970118e0f6d3c57e86e6e683beb Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Wed, 2 Sep 2026 15:49:06 +0200 Subject: [PATCH 3/5] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Point=20cpp-linter=20a?= =?UTF-8?q?t=20the=20installed=20LLVM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assisted-by: GPT-5.6 Sol via Codex --- .github/workflows/reusable-cpp-linter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-cpp-linter.yml b/.github/workflows/reusable-cpp-linter.yml index 9ff6ca1..fe40bcd 100644 --- a/.github/workflows/reusable-cpp-linter.yml +++ b/.github/workflows/reusable-cpp-linter.yml @@ -175,8 +175,8 @@ jobs: with: style: "" tidy-checks: "" - # cpp-linter-action v2.21.0 accepts versions after 22 only as installed tool paths. - version: ${{ inputs.clang-version > 22 && format('/usr/lib/llvm-{0}/bin', inputs.clang-version) || inputs.clang-version }} + # Directly point cpp-linter to the LLVM version installed above. + version: ${{ format('/usr/lib/llvm-{0}/bin', inputs.clang-version) }} ignore: ${{ format( 'build|!build/mlir/**|**/include|include{0}{1}', inputs.cpp-linter-ignore-extra != '' && '|' || '', From 478992868226029b1e19d423d2dda2767e67670c Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Wed, 2 Sep 2026 15:59:20 +0200 Subject: [PATCH 4/5] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Generalize=20the=20ins?= =?UTF-8?q?talled=20LLVM=20change?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assisted-by: GPT-5.6 Sol via Codex --- .github/workflows/reusable-cpp-linter.yml | 2 +- CHANGELOG.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable-cpp-linter.yml b/.github/workflows/reusable-cpp-linter.yml index fe40bcd..6d6e013 100644 --- a/.github/workflows/reusable-cpp-linter.yml +++ b/.github/workflows/reusable-cpp-linter.yml @@ -175,7 +175,7 @@ jobs: with: style: "" tidy-checks: "" - # Directly point cpp-linter to the LLVM version installed above. + # Directly use the installed LLVM version. version: ${{ format('/usr/lib/llvm-{0}/bin', inputs.clang-version) }} ignore: ${{ format( 'build|!build/mlir/**|**/include|include{0}{1}', diff --git a/CHANGELOG.md b/CHANGELOG.md index 6380460..716c432 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,9 @@ releases may include breaking changes. ## [Unreleased] -### Fixed +### Changed -- 🐛 Allow `reusable-cpp-linter.yml` callers to select Clang 23 ([#448]) +- ♻️ Directly pass the LLVM installation directory to `cpp-linter` ([#448]) ([**@simon1hofmann**]) ## [2.3.0] - 2026-08-24 From a884158d77f97f6d69e847e1120233b1baa84b55 Mon Sep 17 00:00:00 2001 From: Lukas Burgholzer Date: Sat, 5 Sep 2026 06:58:08 +0000 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=94=96=20Prepare=20release=20of=20`v2?= =?UTF-8?q?.3.1`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assisted-by: GPT-5.6 Sol via Codex --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 716c432..3dc4393 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ releases may include breaking changes. ## [Unreleased] +## [2.3.1] - 2026-09-05 + ### Changed - ♻️ Directly pass the LLVM installation directory to `cpp-linter` ([#448]) @@ -482,7 +484,8 @@ _📚 Refer to the [GitHub Release Notes] for previous changelogs._ -[unreleased]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.3.0...HEAD +[unreleased]: https://github.com/munich-quantum-toolkit/workflows/compare/v2.3.1...HEAD +[2.3.1]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.3.1 [2.3.0]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.3.0 [2.2.3]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.2.3 [2.2.2]: https://github.com/munich-quantum-toolkit/workflows/releases/tag/v2.2.2