This saves on some gas as publicKeys and signatures are already at th… #271
Workflow file for this run
This file contains 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@v3 | |
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@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./lcov.txt | |
fail_ci_if_error: true | |
verbose: false |