From 64cb41d2c83fe29a021897f4bec0fd48898340d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Fonseca?= Date: Wed, 27 Sep 2023 00:42:57 +0100 Subject: [PATCH] fix: let clang tidy reach headers --- .github/workflows/clang-tidy-lint.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clang-tidy-lint.yml b/.github/workflows/clang-tidy-lint.yml index edbf2093aa..c2e9e2e7e5 100644 --- a/.github/workflows/clang-tidy-lint.yml +++ b/.github/workflows/clang-tidy-lint.yml @@ -35,7 +35,10 @@ 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)/.*" \ + -export-fixes clang-tidy-result/fixes.yml - name: Run clang-tidy-pr-comments action uses: platisd/clang-tidy-pr-comments@master