Skip to content

Commit 1122c41

Browse files
committed
test mirrors-clang-format
1 parent c724159 commit 1122c41

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/e2e.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
clang_version: [16, 17, 18, 19, 20, 21]
19+
clang_version: ['v19.1.7', 'v20.1.8', 'v21.1.2']
2020

2121
name: Test clang ${{ matrix.clang_version }}
2222
steps:
@@ -43,11 +43,10 @@ jobs:
4343
rm -f .pre-commit-config.yaml || true
4444
cat > .pre-commit-config.yaml << EOF
4545
repos:
46-
- repo: https://github.com/cpp-linter/cpp-linter-hooks
47-
rev: ${{ github.sha }}
46+
- repo: https://github.com/pre-commit/mirrors-clang-format
47+
rev: ${{ matrix.clang_version }}
4848
hooks:
4949
- id: clang-format
50-
args: [--style=LLVM, --version=${{ matrix.clang_version }}]
5150
EOF
5251
5352
pre-commit install

0 commit comments

Comments
 (0)