Skip to content

Commit

Permalink
Pass header-filter=.* to clang-tidy
Browse files Browse the repository at this point in the history
Otherwise it doesn't report any issues.
  • Loading branch information
lmoureaux committed Jan 4, 2024
1 parent e45a4c7 commit 40bb7b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/clang-tidy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ jobs:
- name: Run clang-tidy
run: |
run-clang-tidy -p build | ansifilter | ./codacy-clang-tidy >report.json
run-clang-tidy -header-filter=".*" -p build \
| ansifilter \
| ./codacy-clang-tidy >report.json
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 40bb7b6

Please sign in to comment.