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.
This commit is contained in:
Martin Vogel
2026-04-02 22:51:11 +02:00
parent 43cde32d3d
commit 613ce403e7
+2 -2
View File
@@ -41,8 +41,8 @@ jobs:
- name: Add cppcheck to PATH
run: echo "/opt/cppcheck/bin" >> "$GITHUB_PATH"
- name: Lint
run: scripts/lint.sh CLANG_FORMAT=clang-format-20
- name: Lint (cppcheck + clang-format, no clang-tidy — enforced locally)
run: scripts/lint.sh --ci CLANG_FORMAT=clang-format-20
security-static:
runs-on: ubuntu-latest