Skip to content

ci: fix lint job

ci: fix lint job #2

Workflow file for this run

name: ci
on: push
env:
FOUNDRY_PROFILE: ci
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run linter
run: forge fmt --check
id: lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: forge test -vvvv --summary --detailed --gas-report
id: test