From: Gregor Jasny Date: Sun, 25 May 2025 13:35:53 +0000 (+0200) Subject: ci: Use CodeQL v3 (#1592) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c0a372ee2ecb4f04e2c9f9074a7d2258be00bdd;p=thirdparty%2Fccache.git ci: Use CodeQL v3 (#1592) 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/ --- diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index b36bfc3c..b6e12ae4 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -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