@@ -2,9 +2,9 @@ name: Slither Analysis
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
7- branches : [ main ]
7+ branches : [main]
88
99jobs :
1010 analyze :
@@ -13,31 +13,31 @@ jobs:
1313 contents : read
1414 security-events : write
1515 steps :
16- - name : Checkout repository
17- uses : actions/checkout@v2
18- with :
19- submodules : recursive
16+ - name : Checkout repository
17+ uses : actions/checkout@v2
18+ with :
19+ submodules : recursive
2020
21- - name : Setup Node.js environment
22- uses : actions/setup-node@v2.4.1
21+ - name : Setup Node.js environment
22+ uses : actions/setup-node@v2.4.1
2323
24- - name : Run npm install
25- run : yarn
24+ - name : Run npm install
25+ run : yarn
2626
27- - name : Install Foundry
28- uses : onbjerg/foundry-toolchain@v1
29- with :
30- version : nightly
27+ - name : Install Foundry
28+ uses : onbjerg/foundry-toolchain@v1
29+ with :
30+ version : nightly
3131
32- - name : Run Slither
33- uses : crytic/slither-action@v0.1 .0
34- continue-on-error : true
35- id : slither
36- with :
37- node-version : 16
38- sarif : results.sarif
32+ - name : Run Slither
33+ uses : crytic/slither-action@v0.2 .0
34+ continue-on-error : true
35+ id : slither
36+ with :
37+ node-version : 16
38+ sarif : results.sarif
3939
40- - name : Upload SARIF file
41- uses : github/codeql-action/upload-sarif@v1
42- with :
43- sarif_file : ${{ steps.slither.outputs.sarif }}
40+ - name : Upload SARIF file
41+ uses : github/codeql-action/upload-sarif@v1
42+ with :
43+ sarif_file : ${{ steps.slither.outputs.sarif }}
0 commit comments