Skip to content

test: Trail of Bits Invariant Tests #3042

test: Trail of Bits Invariant Tests

test: Trail of Bits Invariant Tests #3042

Workflow file for this run

name: Tests-PR
on:
pull_request:
jobs:
lint:
name: Prettier lint check
uses: bgd-labs/github-workflows/.github/workflows/foundry-lint-prettier.yml@main
test:
name: Foundry build n test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.READ_ONLY_PAT || github.token }}
- name: Run Foundry setup
uses: bgd-labs/github-workflows/.github/actions/foundry-setup@main
with:
FOUNDRY_VERSION: stable
- name: Run Forge size
uses: bgd-labs/github-workflows/.github/actions/foundry-size@main
- name: Run Gas report
uses: bgd-labs/github-workflows/.github/actions/foundry-gas-report@main
- name: Run Forge tests
uses: bgd-labs/github-workflows/.github/actions/foundry-test@main
with:
FOUNDRY_PROFILE: pr
FORGE_SNAPSHOT_CHECK: true
- name: Upload & Trigger Comment artifact
uses: bgd-labs/github-workflows/.github/actions/comment-artifact@main
with:
nameSuffix: "default"