Inter fi/audit #324
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: smart_contracts | |
on: | |
push: | |
branches: | |
- production | |
- staging | |
- deployment | |
pull_request: | |
branches: | |
- production | |
- staging | |
- deployment | |
jobs: | |
check: | |
name: smart_contracts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9.13" | |
- name: Install eth-abi | |
run: pip3 install eth-abi | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run tests | |
run: forge test -f "${{ secrets.MAINNET_RPC_ENDPOINT }}" --ffi | |