Skip to content

Commit 703596e

Browse files
committed
feat: add more clang versions for testing
1 parent 863f282 commit 703596e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

testing/pre-commit-config-version.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,31 @@ repos:
66
args: [--style=file, --version=16] # to load .clang-format
77
- id: clang-tidy
88
args: [--checks=.clang-tidy, --version=16] # path/to/.clang-tidy
9+
- repo: .
10+
rev: HEAD
11+
hooks:
12+
- id: clang-format
13+
args: [--style=file, --version=17]
14+
- id: clang-tidy
15+
args: [--checks=.clang-tidy, --version=17]
16+
- repo: .
17+
rev: HEAD
18+
hooks:
19+
- id: clang-format
20+
args: [--style=file, --version=18]
21+
- id: clang-tidy
22+
args: [--checks=.clang-tidy, --version=18]
23+
- repo: .
24+
rev: HEAD
25+
hooks:
26+
- id: clang-format
27+
args: [--style=file, --version=19]
28+
- id: clang-tidy
29+
args: [--checks=.clang-tidy, --version=19]
30+
- repo: .
31+
rev: HEAD
32+
hooks:
33+
- id: clang-format
34+
args: [--style=file, --version=20]
35+
- id: clang-tidy
36+
args: [--checks=.clang-tidy, --version=20]

0 commit comments

Comments
 (0)