0 proceed withdraw logic (#699) #776
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: Solidity Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: solidity test | |
runs-on: ubuntu-latest | |
env: | |
GOERLI_RPC_URL: ${{ secrets.GOERLI_RPC_URL }} | |
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: install node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: install packages | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: install # will run `yarn install` command | |
token: ${{ secrets.GITHUB_TOKEN }} | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # if needed | |
- name: install foundry | |
uses: foundry-rs/[email protected] | |
with: | |
version: nightly | |
- name: test | |
run: FOUNDRY_FUZZ_RUNS=10000 make test-sol |