Skip to content

Merge pull request #5 from davisshaver/update-resolver #69

Merge pull request #5 from davisshaver/update-resolver

Merge pull request #5 from davisshaver/update-resolver #69

Workflow file for this run

on: push
name: Unit Tests
defaults:
run:
shell: bash
env:
CI: true
FOUNDRY_PROFILE: CI
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- name: Run lint check
run: yarn lint:check
- name: Run tests
run: yarn test
env:
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
- run: yarn clean
- run: yarn build:slither
- 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 }}