From 375609bc7ea20a0f18099590b78337f29f312600 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Sun, 13 Sep 2026 21:02:45 +0300 Subject: [PATCH] feat: support LLVM 23 Add 23 to the accepted `version` values and to the self-test matrix. The install paths are already in place upstream: clang-tools 1.3.0 (on main since #477) raises MAX_VERSION to 23 and points at the static binary release that ships the 23 builds, apt.llvm.org knows the `-23` pattern, and Homebrew aliases `llvm@23` to the current `llvm` formula (23.1.1), so no change to the installation steps is needed. The default `version` stays at 21. --- .github/workflows/self-test.yml | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index 510da0d3..1f37930e 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -34,7 +34,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - clang-version: ['12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22'] + clang-version: ['12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23'] fail-fast: false runs-on: ${{ matrix.os }} steps: diff --git a/action.yml b/action.yml index 7dad9299..1076a995 100644 --- a/action.yml +++ b/action.yml @@ -39,7 +39,7 @@ inputs: version: description: | The desired version of the [clang-tools](https://github.com/cpp-linter/clang-tools-pip) to use. - Accepted options are strings which can be 22, 21, 20, 19, 18, 17, 16, 15, 14, 13 or 12. + Accepted options are strings which can be 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13 or 12. - Set this option to a blank string (`''`) to use the platform's default installed version. - This value can also be a path to where the clang tools are installed (if using a custom install location).