Set SOLC to 0.8.21 and EVM version to Paris #345
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: | |
branches: | |
- main | |
pull_request: | |
name: Unit Tests | |
jobs: | |
tests: | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '17' | |
cache: 'npm' | |
- name: Install Dependencies | |
run: make install | |
- name: Build Contracts | |
run: make build | |
- name: Run Tests | |
run: make test | |
- name: Run Benchmarks | |
run: | | |
make bench | |
make snapshot |