deploy: record new proxies for escrow and rules engine #57
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: CI | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Build contracts | |
| run: forge build --sizes | |
| - name: Run tests | |
| run: forge test -vvv | |
| - name: Gas Snapshot | |
| run: | | |
| if [ -f .gas-snapshot ]; then | |
| forge snapshot --check --tolerance 5 | |
| else | |
| forge snapshot | |
| fi | |
| - name: Coverage Report | |
| env: | |
| FOUNDRY_PROFILE: coverage | |
| run: | | |
| forge coverage --report summary --ir-minimum | |
| forge coverage --report lcov --ir-minimum | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| files: ./lcov.info | |
| flags: foundry | |
| fail_ci_if_error: false |