Skip to content

Commit 24d9a5d

Browse files
Upgrade CodeQL Github Action to v2
The CodeQL Action v1 is scheduled to be deprecated by January 2023. No new updates will be made to v1, which means that new CodeQL analysis capabilities will only be available to users of v2. Hence upgrading the version of CodeQL github actions to v2. More info here: https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
1 parent 9f10335 commit 24d9a5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v1
32+
uses: github/codeql-action/init@v2
3333
with:
3434
languages: ${{ matrix.language }}
3535
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -40,7 +40,7 @@ jobs:
4040
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4141
# If this step fails, then you should remove it and run the build manually
4242
- name: Autobuild
43-
uses: github/codeql-action/autobuild@v1
43+
uses: github/codeql-action/autobuild@v2
4444

4545
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@v1
46+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)