File tree Expand file tree Collapse file tree 3 files changed +29
-3
lines changed
Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 3636 git submodule update --init --recursive
3737 python CI/slither/setup.py install
3838 pip install slither
39+ pip install pygame
3940 # Used by ci_test.sh
4041 pip install deepdiff
4142
4748 env :
4849 TEST_TYPE : ${{ matrix.type }}
4950 GITHUB_ETHERSCAN : ${{ secrets.GITHUB_ETHERSCAN }}
50- run : |
51- bash CI/slither/scripts/ci_test_${TEST_TYPE}.sh
51+ # run: |
52+ # bash CI/slither/scripts/ci_test_${TEST_TYPE}.sh
53+ run : |
54+ yarn clean
55+ slither --json - .
Original file line number Diff line number Diff line change 1+ name : Slither CI Wrapper test
2+
3+ on : [push]
4+
5+ jobs :
6+ main_job :
7+ runs-on : ubuntu-latest
8+ name : Solidity Security
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v2
12+ - name : Slither Static Analysis
13+ uses : Tenderize/slither-static-analysis-action@master
14+ with :
15+ slither-version : ' 0.8.1'
16+ run-npm-install : true
17+ high-threshold : 1
18+ medium-threshold : 1
19+ low-threshold : 1
20+ optimization-threshold : 1
21+ informative-threshold : 10
22+ projectPath : " ."
You can’t perform that action at this time.
0 commit comments