Fix: LendingPool MaxPoolSize cap and DepositorCount drifting #33
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| targets: wasm32-unknown-unknown | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Format check | |
| run: cargo fmt --check | |
| - name: Build | |
| run: cargo build | |
| - name: Lint | |
| run: cargo clippy -- -D warnings | |
| - name: Test | |
| run: cargo test | |
| - name: Build WASM (wasm32) | |
| run: cargo build --target wasm32-unknown-unknown | |
| # TODO(#21): fuzz harness is out of sync with contract API; fix once #21 lands | |
| - name: Build fuzz crate | |
| continue-on-error: true | |
| run: cargo build --manifest-path fuzz/Cargo.toml |