CI: Use CodeQL Action v2, not the deprecated v1

See:
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/

(cherry picked from commit 120322cb8f)
This commit is contained in:
Debarshi Ray
2022-06-28 22:35:13 +02:00
committed by Simon McVittie
parent bf9a72a3be
commit 00f82bc9d0

View File

@@ -106,7 +106,7 @@ jobs:
steps:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -136,7 +136,7 @@ jobs:
- name: Build flatpak
run: make -j $(getconf _NPROCESSORS_ONLN)
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
valgrind:
name: Run tests in valgrind