diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml new file mode 100644 index 0000000..5c7b518 --- /dev/null +++ b/.github/workflows/slither.yml @@ -0,0 +1,24 @@ +on: [push] +name: Slither Scan + +jobs: + main_job: + runs-on: ubuntu-latest + name: Solidity Security + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node + uses: actions/setup-node@v1 + - run: npm ci + - name: Slither Static Analysis + uses: luisfontes19/slither-static-analysis-action@v0.3.2 + with: + slither-version: '0.6.13' + run-npm-install: false + high-threshold: 1 + medium-threshold: 1 + low-threshold: 3 + optimization-threshold: 5 + informative-threshold: 10 + projectPath: "."