Skip to content

Commit 2446798

Browse files
authored
feat: support clang version to include 22 and adjust default version to 20 (#398)
1 parent d67d37b commit 2446798

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/self-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
matrix:
3636
os: [ ubuntu-latest, macos-latest, windows-latest ]
37-
clang-version: ['9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21']
37+
clang-version: ['11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22']
3838
fail-fast: false
3939
runs-on: ${{ matrix.os }}
4040
steps:

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ inputs:
3939
version:
4040
description: |
4141
The desired version of the [clang-tools](https://github.com/cpp-linter/clang-tools-pip) to use.
42-
Accepted options are strings which can be 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10 or 9.
42+
Accepted options are strings which can be 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12 or 11.
4343
4444
- Set this option to a blank string (`''`) to use the platform's default installed version.
4545
- This value can also be a path to where the clang tools are installed (if using a custom install location).
4646
required: false
47-
default: 18
47+
default: 20
4848
verbosity:
4949
description: |
5050
This controls the action's verbosity in the workflow's logs.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies = []
66

77
[dependency-groups]
88
action = [
9-
"clang-tools==0.16.0",
10-
"cpp-linter==1.11.4",
9+
"clang-tools==0.17.0",
10+
"cpp-linter==1.12.0",
1111
]
1212
dev = [
1313
"mypy>=1.17.1",

uv.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)