File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3939
4040 steps :
4141 - name : Checkout repository
42- uses : actions/checkout@v2
42+ uses : actions/checkout@v3
4343
4444 # Initializes the CodeQL tools for scanning.
4545 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 88 permissions :
99 security-events : write
1010 steps :
11- - uses : actions/checkout@v2
11+ - uses : actions/checkout@v3
1212 - name : Upload SARIF
13- uses : github/codeql-action/upload-sarif@v1
13+ uses : github/codeql-action/upload-sarif@v2
1414 with :
1515 sarif_file : sarif.json
1616 # sarif_file: example111.json
Original file line number Diff line number Diff line change 44 build :
55 runs-on : ubuntu-latest
66 steps :
7- - uses : actions/checkout@v2
7+ - uses : actions/checkout@v3
88 - uses : snyk/actions/setup@master
99 - name : Snyk Test
1010 run : snyk code test --org=${{ secrets.SNYK_ORG }} --sarif > snyk-sarif2.json
1111 continue-on-error : true
1212 env :
1313 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
1414 - name : Upload SARIF file
15- uses : github/codeql-action/upload-sarif@v1
15+ uses : github/codeql-action/upload-sarif@v2
1616 with :
1717 sarif_file : snyk-sarif2.json
Original file line number Diff line number Diff line change 44 build :
55 runs-on : ubuntu-latest
66 steps :
7- - uses : actions/checkout@v2
7+ - uses : actions/checkout@v3
88 - uses : snyk/actions/setup@master
99 - name : Snyk Test
1010 run : snyk test --sarif-file-output=snyk-sarif1.json
1111 continue-on-error : true
1212 env :
1313 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
1414 - name : Upload SARIF file
15- uses : github/codeql-action/upload-sarif@v1
15+ uses : github/codeql-action/upload-sarif@v2
1616 with :
1717 sarif_file : snyk-sarif1.json
You can’t perform that action at this time.
0 commit comments