codex-contracts-eth/.github/workflows/ci.yml

29 lines
634 B
YAML

name: CI
on: [push, pull_request]
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install
- run: npm run format:check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# workaround for https://github.com/NomicFoundation/hardhat/issues/3877
- uses: actions/setup-node@v4
with:
node-version: 18.15
- run: npm install
- run: npm test
- uses: actions/cache@v4
with:
path: fuzzing/corpus
key: fuzzing
- run: npm run fuzz