diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2de91bc..b830f3dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,11 @@ on: - "*" jobs: - check: + foundry: strategy: fail-fast: true - name: CI + name: Foundry runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -50,4 +50,26 @@ jobs: uses: actions/upload-artifact@v3 with: name: coverage - path: report/ \ No newline at end of file + path: report/ + + slither: + strategy: + fail-fast: true + + name: Slither + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Setup Foundry + uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly + + - name: Run Slither + uses: crytic/slither-action@v0.3.0 + id: slither + with: + fail-on: low \ No newline at end of file diff --git a/slither.config.json b/slither.config.json new file mode 100644 index 00000000..1bd5dd7d --- /dev/null +++ b/slither.config.json @@ -0,0 +1,3 @@ +{ + "filter_paths": "(lib/|test/)" +} \ No newline at end of file