From 40bb7b65e31352a9e8a96ffe05211b7b578b1166 Mon Sep 17 00:00:00 2001 From: Louis Moureaux Date: Thu, 4 Jan 2024 06:46:57 +0100 Subject: [PATCH] Pass header-filter=.* to clang-tidy Otherwise it doesn't report any issues. --- .github/workflows/clang-tidy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clang-tidy.yaml b/.github/workflows/clang-tidy.yaml index 39cfa7002d..91bc83b3bc 100644 --- a/.github/workflows/clang-tidy.yaml +++ b/.github/workflows/clang-tidy.yaml @@ -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: