feat: cli update multiple rfox staking contracts #165
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: Foundry | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main, develop] | |
pull_request: | |
branches: [main, develop] | |
env: | |
FOUNDRY_PROFILE: ci | |
defaults: | |
run: | |
working-directory: foundry | |
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.2.0 | |
- name: Run Forge tests | |
run: | | |
forge clean | |
forge test -vvv | |
id: test | |
- name: Generate coverage report | |
run: | | |
forge clean | |
forge coverage --report summary | |
id: coverage |