Skip to content

Instantly share code, notes, and snippets.

@erikside
Created February 22, 2023 06:52
Show Gist options
  • Save erikside/7823ae05bb2b270652a566a53dfd96b2 to your computer and use it in GitHub Desktop.
Save erikside/7823ae05bb2b270652a566a53dfd96b2 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=builtin&optimize=false&runs=200&gist=
name: Slither Analysis
on: [push]
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install
- uses: crytic/slither-action@v0.2.0
with:
target: 'contracts'
slither-args: '--solc-remaps "@openzeppelin/contracts=./node_modules/@openzeppelin/contracts hardhat=./node_modules/hardhat"'
fail-on: 'low'
solc-version: '0.8.2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment