-
Notifications
You must be signed in to change notification settings - Fork 44
29 lines (28 loc) · 826 Bytes
/
Copy pathtest.yml
File metadata and controls
29 lines (28 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
on:
push: { branches: [main] }
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@v6
with: { submodules: true }
- uses: actions/setup-node@v6
with: { node-version: 24 }
- uses: foundry-rs/foundry-toolchain@v1
with: { version: v1.5.1 }
- run: corepack enable
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
- run: rm -rf cache/fuzz cache/invariant
- run: forge build
- run: pnpm run coverage
- uses: codecov/codecov-action@v6
if: always()
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info,coverage/lcov.info