Skip to content

Commit

Permalink
fix(ci): ignore libs in clang tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
luishfonseca committed Sep 29, 2023
1 parent 95536a8 commit b3d6748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
core/lib/** linguist-vendored
core/lib/** linguist-vendored -diff
engine/lib/** linguist-vendored -diff
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: |
run-clang-tidy -j$(nproc) -p=build \
-header-filter="(core|engine)/(src|include)/.*" \
files "($(git diff -U0 --name-only HEAD^ | paste -s -d\|))" \
files "($(git diff -U0 --name-only HEAD^ | grep -vP '.*/lib/.*' | paste -s -d\|))" \
-export-fixes clang-tidy-fixes.yaml || true
- name: Run clang-tidy-pr-comments action
Expand Down

0 comments on commit b3d6748

Please sign in to comment.