Use CodeQL Action v2

see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I92253f747b8bbb9d365bb49b40402c832d63d0de
This commit is contained in:
Andras Timar 2024-04-16 14:44:55 +02:00 committed by Caolán McNamara
parent a8102212c6
commit d968b0af63

View file

@ -38,7 +38,7 @@ jobs:
# 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 }}
config-file: ./.github/codeql/codeql-config.yml
@ -80,4 +80,4 @@ jobs:
run: make -j `nproc`
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2