Skip to content

Commit

Permalink
ci: let slither compile
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Jul 3, 2024
1 parent 21e444b commit e452eb4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,23 +177,12 @@ jobs:
with:
path: node_modules
key: ${{ needs.deps.outputs.cache-key }}
# TODO: right now forge and node tooling coexist, eventually keep only forge action
- uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- if: contains(needs.changed-files.outputs.modified_files, matrix.dir)
name: Compile contracts
run: |
workspace=$(jq -r '.name' packages/${{ matrix.dir }}/package.json)
yarn workspace "$workspace" run compile

- if: contains(needs.changed-files.outputs.modified_files, matrix.dir)
name: Run slither
uses: crytic/[email protected]
id: slither
with:
ignore-compile: true
node-version: 20
fail-on: none
sarif: results.sarif
Expand Down

0 comments on commit e452eb4

Please sign in to comment.