]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Don't run CodeQL on unit tests
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 6 Nov 2022 08:27:52 +0000 (09:27 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 6 Nov 2022 13:24:22 +0000 (14:24 +0100)
Too many annoying false positives, like "Unused static function" for all
unit tests.

.github/workflows/codeql-analysis.yaml

index 517808c0483e5dc928dfe57c28a4ed4950eb0368..5bd772b37c818eee1268311f5b1a481baaac6dd7 100644 (file)
@@ -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