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 571a9d8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/clang-tidy-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@ jobs:
- name: Analyze
run: |
git diff -U0 HEAD^ | clang-tidy-diff -p1 -path build -export-fixes clang-tidy-result/fixes.yml
run-clang-tidy -j$(nproc) -p=build \
-header-filter="(core|engine)/include/.*" \
files "(core|engine)/(src|samples|tests)/.*" \
-export-fixes clang-tidy-result/fixes.yml
- uses: actions/upload-artifact@v3
with:
name: clang-tidy-fixes
path: clang-tidy-result/fixes.yml

- name: Run clang-tidy-pr-comments action
uses: platisd/clang-tidy-pr-comments@master
Expand Down

0 comments on commit 571a9d8

Please sign in to comment.