From 2ba470b65b61b7261d199d2b3e5c705fe72abca4 Mon Sep 17 00:00:00 2001 From: Luis Fontes Date: Thu, 4 Mar 2021 12:47:02 +0000 Subject: [PATCH 1/3] Add slither scan action --- .github/workflows/slitheryml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/slitheryml diff --git a/.github/workflows/slitheryml b/.github/workflows/slitheryml new file mode 100644 index 0000000..679d34a --- /dev/null +++ b/.github/workflows/slitheryml @@ -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 a02c6e8912bfee5a52a5b6260e251a8a70de3107 Mon Sep 17 00:00:00 2001 From: Luis Fontes Date: Thu, 4 Mar 2021 12:47:28 +0000 Subject: [PATCH 2/3] Rename slitheryml to slither.yml --- .github/workflows/{slitheryml => slither.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{slitheryml => slither.yml} (100%) diff --git a/.github/workflows/slitheryml b/.github/workflows/slither.yml similarity index 100% rename from .github/workflows/slitheryml rename to .github/workflows/slither.yml From b367d27f3a1bc2b5221db135261d3e7830833c5b Mon Sep 17 00:00:00 2001 From: Luis Fontes Date: Thu, 4 Mar 2021 12:50:41 +0000 Subject: [PATCH 3/3] 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