✅ Update solidity version, update address #58
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
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: '16' | |
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 }} | |
- name: Run Slither (allow failure for now) | |
continue-on-error: true | |
run: yarn slither | |