fix: increase instanceGas for Switch level to prevent out-of-gas error #1670
Workflow file for this run
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: {} | |
| jobs: | |
| tests: | |
| name: Foundry tests | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./contracts | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: true | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: nightly | |
| - name: Install dependencies | |
| run: forge install | |
| - name: Check contract sizes | |
| run: forge build --sizes --skip test | |
| id: build | |
| - name: Run tests | |
| run: forge test -v | |
| id: test |