fix audit issues #3
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: Basic PR Tests | |
on: [pull_request] | |
jobs: | |
run-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install submodules | |
run: | | |
git config --global url."https://github.com/".insteadOf "[email protected]:" | |
git submodule update --init --recursive | |
- name: Run forge tests | |
# run: ./test.sh -p super_deep | |
run: | | |
forge clean | |
forge test --optimize --optimizer-runs 1000000 -v -f https://eth-mainnet.g.alchemy.com/v2/${{ secrets.ALCHEMY_API_KEY }} --fork-block-number 15129966 |