summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2022-11-06 09:27:52 +0100
committerJoel Rosdahl <joel@rosdahl.net>2022-11-06 14:24:22 +0100
commit20ca4ad1c47e935fcc58d78b86f3499ffcfa1364 (patch)
treeb25fa6bbaed815d84cc32677e0c3c2db76f0ae0e
parent4f4992a630b10b24541dc4c1ab021ca55bfc4d7d (diff)
downloadccache-20ca4ad1c47e935fcc58d78b86f3499ffcfa1364.tar.gz
ci: Don't run CodeQL on unit tests
Too many annoying false positives, like "Unused static function" for all unit tests.
-rw-r--r--.github/workflows/codeql-analysis.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml
index 517808c0..5bd772b3 100644
--- a/.github/workflows/codeql-analysis.yaml
+++ b/.github/workflows/codeql-analysis.yaml
@@ -51,6 +51,7 @@ jobs:
env:
RUN_TESTS: none
CMAKE_GENERATOR: Ninja
+ EXTRA_CMAKE_BUILD_FLAGS: --target ccache
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2