ci: update foundry toolchain to nightly for Solidity 0.8.33 support #523
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: Coverage | |
| on: | |
| push: | |
| paths: | |
| - "contracts/**" | |
| - "lib/**" | |
| - ".github/**" | |
| - "codecov.yml" | |
| jobs: | |
| run-coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install foundry | |
| uses: onbjerg/foundry-toolchain@v1 | |
| with: | |
| version: nightly | |
| - name: Run coverage | |
| run: forge coverage --report lcov && mv lcov.info lcov.txt | |
| env: | |
| FOUNDRY_FUZZ_RUNS: 1500 | |
| MAINNET_FORK_RPC_URL: ${{ secrets.MAINNET_FORK_RPC_URL }} | |
| - name: Update lcov report | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./lcov.txt | |
| fail_ci_if_error: true | |
| verbose: false |