Skip to content

DRY was missed: depositedCollateral modifier used in testRevertsIfMin… #67

DRY was missed: depositedCollateral modifier used in testRevertsIfMin…

DRY was missed: depositedCollateral modifier used in testRevertsIfMin… #67

Workflow file for this run

name: test
on: [workflow_dispatch, push, pull_request]
env:
FOUNDRY_PROFILE: ci
jobs:
format:
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 Forge build
run: |
forge --version
forge fmt --check
id: build
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 Forge build
run: |
forge --version
forge build --force --sizes
id: build
- name: Run Forge tests and capture gas snapshots
run: |
forge test -vvv
id: gas-check