Skip to content

Merge pull request #248 from rsksmart/feature/GBI-2134 #28

Merge pull request #248 from rsksmart/feature/GBI-2134

Merge pull request #248 from rsksmart/feature/GBI-2134 #28

Workflow file for this run

name: Slither Analysis
on: [push]
permissions:
contents: read
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Use Node.js 19.6.0
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '19.6.0'
- name: Install dependencies
run: npm ci
- name: Run Slither
uses: crytic/slither-action@6ef3a33e56de4e8f59488cf60858b5c1bf4967c0 # v0.3.0
id: slither
with:
sarif: results.sarif
fail-on: none
target: .
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@85b07cf1e13dd512be7c27c37a33c5864c252fcc # v2
with:
sarif_file: ${{ steps.slither.outputs.sarif }}