release: v2.2.2 — Nexus 1.3.2 + audited ERC-8211 composability via submodule #85
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: Foundry Tests | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| # Fetch full history for better diff analysis | |
| fetch-depth: 0 | |
| # v2.2.2 onward sources composability from lib/erc8211-contracts/ | |
| # via git submodule. Without this, every composability/* import | |
| # fails to resolve at compile time. | |
| submodules: recursive | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: nightly | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: 10.17.1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| # Fork tests under test/fork/** pin to historical blocks (e.g. Arbitrum | |
| # 320_365_545) on public RPCs that don't retain deep state — they fail | |
| # intermittently with "state recreation l2 gas depth limit exceeded". | |
| # Run via `pnpm test:fork` locally or on a schedule with a paid RPC. | |
| - name: Run Forge tests | |
| run: pnpm test:ci | |
| env: | |
| FOUNDRY_PROFILE: ci |