Skip to content

Commit

Permalink
fix: let clang tidy reach headers
Browse files Browse the repository at this point in the history
  • Loading branch information
luishfonseca committed Sep 26, 2023
1 parent a05b5d0 commit 5c817dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/clang-tidy-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ jobs:
- name: Analyze
run: |
git diff -U0 HEAD^ | clang-tidy-diff -p1 -path build -export-fixes clang-tidy-result/fixes.yml
git diff -U0 HEAD^ | clang-tidy-diff -j$(nproc) -p1 -path build -export-fixes clang-tidy-result/fixes.yml -- \
-Icore/include \
-Icore/lib \
-Iengine/include \
-Iengine/lib
- name: Run clang-tidy-pr-comments action
uses: platisd/clang-tidy-pr-comments@master
Expand Down

0 comments on commit 5c817dc

Please sign in to comment.