From cad2426ff414398f99aadc3adae2031764eda935 Mon Sep 17 00:00:00 2001 From: Luisfc68 Date: Fri, 9 Aug 2024 17:47:04 -0300 Subject: [PATCH] chore: sync master changes --- .github/workflows/slither.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..21b600a --- /dev/null +++ b/.github/workflows/slither.yml @@ -0,0 +1,30 @@ +name: Slither Analysis +on: [push] +jobs: + analyze: + runs-on: ubuntu-latest + permissions: + security-events: write + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js 19.6.0 + uses: actions/setup-node@v3 + with: + node-version: '19.6.0' + + - name: Install dependencies + run: npm ci + + - name: Run Slither + uses: crytic/slither-action@v0.3.0 + id: slither + with: + sarif: results.sarif + fail-on: none + target: . + + - name: Upload SARIF file + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: ${{ steps.slither.outputs.sarif }}