From c3a77e68ea083fe43734c3c072737979c8a67676 Mon Sep 17 00:00:00 2001 From: Luis Fontes Date: Thu, 4 Mar 2021 12:00:02 +0000 Subject: [PATCH 1/2] Add slither scan action --- .github/workflows/slither.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/slither.yml diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml new file mode 100644 index 0000000..679d34a --- /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.1 + 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: "." From 3585d9b47963d8b0375c69fcd0490b6447d7c66b Mon Sep 17 00:00:00 2001 From: Luis Fontes Date: Thu, 4 Mar 2021 12:49:10 +0000 Subject: [PATCH 2/2] Update action version --- .github/workflows/slither.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml index 679d34a..5c7b518 100644 --- a/.github/workflows/slither.yml +++ b/.github/workflows/slither.yml @@ -12,7 +12,7 @@ jobs: uses: actions/setup-node@v1 - run: npm ci - name: Slither Static Analysis - uses: luisfontes19/slither-static-analysis-action@v0.3.1 + uses: luisfontes19/slither-static-analysis-action@v0.3.2 with: slither-version: '0.6.13' run-npm-install: false