From 96d9cf5d92065f2cd05c459d9da4ae214919aa74 Mon Sep 17 00:00:00 2001 From: Davide Bettio Date: Sat, 28 Dec 2024 11:56:47 +0100 Subject: [PATCH] CI: Update CodeQL action before deprecation Use v3 before v2 is deprecated, also explicitly set ubuntu version to 24.04 so we can switch in advance and test it. Signed-off-by: Davide Bettio --- .github/workflows/codeql-analysis.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index f8e9ae190..8dc9d48e4 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -39,7 +39,7 @@ concurrency: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: actions: read contents: read @@ -61,7 +61,7 @@ jobs: uses: actions/checkout@v4 - name: "Initialize CodeQL" - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} queries: +./code-queries/term-to-non-term-func.ql,./code-queries/non-term-to-term-func.ql @@ -74,4 +74,4 @@ jobs: ninja - name: "Perform CodeQL Analysis" - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3