Skip to content

ci: nuclear minimal workflow with explicit forge install #16

ci: nuclear minimal workflow with explicit forge install

ci: nuclear minimal workflow with explicit forge install #16

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install dependencies
run: forge install
- name: Verify dependencies
run: ls -R lib/
- name: Format check
run: forge fmt --check
- name: Build
run: forge build --sizes
- name: Run tests
run: forge test -vvv
- name: Run invariant
run: forge test --mt invariant_protocolMustHaveMoreValueThanTotalSupply -vvv --runs 512