fix: correctly segment fees on condition that invariant > 0 #576
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
on: [push] | |
name: Default Build & Tests (profile=default) | |
jobs: | |
check: | |
name: Build & Test (profile=default) | |
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 build | |
run: FOUNDRY_PROFILE=default forge build --skip test | |
- name: Run tests | |
run: FOUNDRY_PROFILE=default forge test --gas-report -vvv |