Skip to content

.github/workflows/test.yml #899

.github/workflows/test.yml

.github/workflows/test.yml #899

Workflow file for this run

on:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
OPTIMISM_NODE: ${{ secrets.OPTIMISM_NODE }}
OP_SEPOLIA_NODE: ${{ secrets.OP_SEPOLIA_NODE }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: oven-sh/setup-bun@v1
- uses: foundry-rs/foundry-toolchain@v1
- run: bun install
- run: bun run lint
- run: forge build
- run: bun run coverage
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info,coverage/lcov.info