Skip to content

Commit

Permalink
Upgrade CodeQL to v3 (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
roastduck authored Apr 5, 2024
1 parent e9eeb30 commit 2e1cff3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ jobs:
export CXX=g++-11 && echo "CXX=$CXX" >> $GITHUB_ENV
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
config-file: ./.github/codeql/codeql-config.yml
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3
if: ${{ matrix.language == 'go' || matrix.language == 'python' }}

- name: Build cpp
Expand All @@ -78,7 +78,7 @@ jobs:
# have no idea where the environment variable $GITHUB_WORKSPACE refers to).
# - Upload the filtered result.
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
upload: False
Expand All @@ -95,6 +95,6 @@ jobs:
output: sarif-results/${{ matrix.language }}.sarif

- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: sarif-results/${{ matrix.language }}.sarif

0 comments on commit 2e1cff3

Please sign in to comment.