Skip to content

Commit 613ce40

Browse files
committed
Fix CI lint: use --ci flag to skip clang-tidy (enforced locally via pre-commit)
clang-tidy is platform-dependent and not installed in CI. The pre-commit hook enforces clang-tidy locally. CI runs cppcheck + clang-format only.
1 parent 43cde32 commit 613ce40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/_lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- name: Add cppcheck to PATH
4242
run: echo "/opt/cppcheck/bin" >> "$GITHUB_PATH"
4343

44-
- name: Lint
45-
run: scripts/lint.sh CLANG_FORMAT=clang-format-20
44+
- name: Lint (cppcheck + clang-format, no clang-tidy — enforced locally)
45+
run: scripts/lint.sh --ci CLANG_FORMAT=clang-format-20
4646

4747
security-static:
4848
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)