[fix-spearbit]Comments re under-estimated value when fee recipient call maxRedeem/maxWithdraw #551
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: Foundry | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run foundry build | |
run: forge build --force --skip test --sizes | |
- name: Run foundry fmt check | |
run: forge fmt --check | |
- name: Run foundry tests | |
run: FOUNDRY_PROFILE=test forge test | |
- name: Run foundry fuzzing | |
run: FOUNDRY_PROFILE=ci_fuzz forge test | |
- name: Run foundry coverage | |
run: FOUNDRY_PROFILE=coverage forge coverage --report summary | |
- name: Run foundry invariants | |
run: forge clean && FOUNDRY_PROFILE=invariant forge test |