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

29 lines
634 B
YAML
Raw Permalink Normal View History

2021-10-14 12:54:43 +00:00
name: CI
on: [push, pull_request]
jobs:
2024-01-24 10:35:48 +00:00
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
2024-01-24 10:35:48 +00:00
- run: npm install
- run: npm run format:check
2021-10-14 12:54:43 +00:00
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2023-05-30 14:23:23 +00:00
# workaround for https://github.com/NomicFoundation/hardhat/issues/3877
- uses: actions/setup-node@v4
2023-05-25 19:00:56 +00:00
with:
2023-05-30 14:23:23 +00:00
node-version: 18.15
2023-05-25 19:00:56 +00:00
- run: npm install
- run: npm test
- uses: actions/cache@v4
2023-01-30 13:35:14 +00:00
with:
path: fuzzing/corpus
key: fuzzing
- run: npm run fuzz