Fix claim proofs #75
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: L1 contracts CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "contracts/L1/**" | |
| pull_request: | |
| paths: | |
| - "contracts/L1/**" | |
| env: | |
| FOUNDRY_VERSION: nightly | |
| jobs: | |
| l1-fmt: | |
| runs-on: ubuntu-latest | |
| name: Solidity Formatting | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: ${{ env.FOUNDRY_VERSION }} | |
| - name: Check Foundry Version | |
| run: forge --version | |
| - name: Check Solidity Formatting | |
| run: cd contracts/L1 && forge fmt --check | |
| l1-test: | |
| runs-on: ubuntu-latest | |
| name: Solidity Foundry Tests | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: ${{ env.FOUNDRY_VERSION }} | |
| - name: Check Foundry Version | |
| run: forge --version | |
| - name: Run Tests | |
| run: cd contracts/L1 && forge test --gas-report |