馃懛 github: use release github token #1170
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
| 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 |