@@ -2,9 +2,9 @@ name: Slither Analysis
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [main]
8
8
9
9
jobs :
10
10
analyze :
@@ -13,31 +13,31 @@ jobs:
13
13
contents : read
14
14
security-events : write
15
15
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
20
20
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
23
23
24
- - name : Run npm install
25
- run : yarn
24
+ - name : Run npm install
25
+ run : yarn
26
26
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
31
31
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
39
39
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