File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Checks: >
33
44WarningsAsErrors: '*'
55
6- HeaderFilterRegex: '(^|.*/) include/.*|(^|.*/) source/.*'
6+ HeaderFilterRegex: '(include/.*|source/.*) '
77
88CheckOptions:
99 # Private member variables
Original file line number Diff line number Diff line change 2424
2525 - name: Run clang-tidy
2626 run: |
27- find include -name '*.h' -o -name '*.hpp' ; find source -name '*.cpp' -o -name '*.cc' -o -name '*.cxx' | \
28- xargs clang-tidy -p build --warnings-as-errors=*
27+ find include -type f \( -name '*.h' -o -name '*.hpp' \) \
28+ ! -path '*/build/*' ! -path '*/_deps/*' ! -path '*/googletest/*' \
29+ -print | \
30+ xargs -r clang-tidy -p build --warnings-as-errors=*
31+
32+ find source -type f \( -name '*.cpp' -o -name '*.cc' -o -name '*.cxx' \) \
33+ ! -path '*/build/*' ! -path '*/_deps/*' ! -path '*/googletest/*' \
34+ -print | \
35+ xargs -r clang-tidy -p build --warnings-as-errors=*
2936
3037 - name: Build
3138 run: cmake --build build
You can’t perform that action at this time.
0 commit comments