feat: sip 47 #157
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: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - "main" | |
| env: | |
| FOUNDRY_PROFILE: ci | |
| jobs: | |
| check: | |
| strategy: | |
| fail-fast: true | |
| name: Foundry project | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: stable | |
| - name: Run Forge Format | |
| run: | | |
| forge fmt --check | |
| id: format | |
| - name: Run Forge build | |
| run: | | |
| forge --version | |
| forge build | |
| id: build | |
| - name: Run Forge tests | |
| env: | |
| BASE_MAINNET_RPC_URL: ${{ secrets.BASE_MAINNET_RPC_URL }} | |
| run: | | |
| make test-all | |
| id: test |