Skip to content

Commit dd5745d

Browse files
author
Reuben Rodrigues
committed
WIP
1 parent f33405d commit dd5745d

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

.github/workflows/security.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
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
@@ -47,5 +48,8 @@ jobs:
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 - .
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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: "."

CI/slither

0 commit comments

Comments
 (0)