Skip to content

Commit f66b784

Browse files
committed
Update CodeQL to v2
Signed-off-by: Victor Chang <[email protected]>
1 parent 02b4dac commit f66b784

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
${{ runner.os }}-nuget
9595
9696
- name: Initialize CodeQL
97-
uses: github/codeql-action/init@v1
97+
uses: github/codeql-action/init@v2
9898
with:
9999
languages: ${{ matrix.language }}
100100

@@ -117,7 +117,7 @@ jobs:
117117
nugetdefense -p src/${{ env.SOLUTION }} --settings-file NuGetDefense.json
118118
119119
- name: Perform CodeQL Analysis
120-
uses: github/codeql-action/analyze@v1
120+
uses: github/codeql-action/analyze@v2
121121

122122
- name: Secret detection
123123
uses: gitleaks/[email protected]
@@ -371,7 +371,7 @@ jobs:
371371
severity-cutoff: critical
372372

373373
- name: Upload Anchore scan SARIF report
374-
uses: github/codeql-action/upload-sarif@v1
374+
uses: github/codeql-action/upload-sarif@v2
375375
if: ${{ (matrix.os == 'ubuntu-latest') }}
376376
with:
377377
sarif_file: ${{ steps.anchore-scan.outputs.sarif }}

0 commit comments

Comments
 (0)