Skip to content

Commit ebb00d5

Browse files
authored
Update codeql to @v2
1 parent eb26e65 commit ebb00d5

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,9 @@ jobs:
3636
# a pull request then we can checkout the head.
3737
fetch-depth: 2
3838

39-
# If this run was triggered by a pull request event, then checkout
40-
# the head of the pull request instead of the merge commit.
41-
#- run: git checkout HEAD^2
42-
# if: ${{ github.event_name == 'pull_request' }}
43-
4439
# Initializes the CodeQL tools for scanning.
4540
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
41+
uses: github/codeql-action/init@v2
4742
with:
4843
languages: ${{ matrix.language }}
4944
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +49,7 @@ jobs:
5449
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5550
# If this step fails, then you should remove it and run the build manually (see below)
5651
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v1
52+
uses: github/codeql-action/autobuild@v2
5853

5954
# ℹ️ Command-line programs to run using the OS shell.
6055
# 📚 https://git.io/JvXDl
@@ -68,4 +63,4 @@ jobs:
6863
# make release
6964

7065
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v1
66+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)