]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Use CodeQL v3 (#1592)
authorGregor Jasny <gjasny@googlemail.com>
Sun, 25 May 2025 13:35:53 +0000 (15:35 +0200)
committerGitHub <noreply@github.com>
Sun, 25 May 2025 13:35:53 +0000 (15:35 +0200)
This workflow throws an deprecation warning right now:

CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/

.github/workflows/codeql-analysis.yaml

index b36bfc3c7ee95c4ca249e7e16b19349a306fbc4d..b6e12ae472d4eb8a823a3fd0450d755726f4210a 100644 (file)
@@ -41,7 +41,7 @@ jobs:
       run: sudo apt-get update && sudo apt-get install ninja-build elfutils libzstd-dev pkg-config libhiredis-dev
 
     - name: Initialize CodeQL
-      uses: github/codeql-action/init@v2
+      uses: github/codeql-action/init@v3
       with:
         languages: cpp
         queries: +security-and-quality
@@ -54,4 +54,4 @@ jobs:
         EXTRA_CMAKE_BUILD_FLAGS: --target ccache
 
     - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@v2
+      uses: github/codeql-action/analyze@v3