fix: ensure 0 deltaFlow doesn't update state #348
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Slither" | |
env: | |
FOUNDRY_PROFILE: "ci" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
- "develop" | |
jobs: | |
slither: | |
name: Slither | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Check out the repo" | |
uses: "actions/checkout@v3" | |
with: | |
submodules: "recursive" | |
- name: "Install Node.js" | |
uses: "actions/setup-node@v3" | |
with: | |
cache: "yarn" | |
node-version: "20" | |
- name: "Install the Node.js dependencies" | |
run: "yarn install --immutable" | |
- name: Run Slither | |
uses: crytic/slither-action@v0.4.0 | |
id: slither | |
with: | |
sarif: results.sarif | |
fail-on: "low" | |
continue-on-error: true | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: ${{ steps.slither.outputs.sarif }} |