slither: no compile #112
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: Quality Gate | |
on: | |
push: | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build_and_validate: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: "npm" | |
node-version: "18.x" | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Install Dependancies | |
run: make install-ci | |
- name: code quality | |
run: make lint | |
- name: Run harhat compilation | |
run: make hh-build | |
- name: Run unit tests | |
run: make test | |
- name: Run demo deployment | |
run: make deploy | |
- name: Run Slither | |
uses: crytic/[email protected] | |
id: slither | |
with: | |
ignore-compile: true | |
sarif: results.sarif | |
fail-on: none | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: ${{ steps.slither.outputs.sarif }} |