Skip to content

Feat: invariant tests #446

Feat: invariant tests

Feat: invariant tests #446

Workflow file for this run

name: Hardhat
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
yarn-test:
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Save hardhat cache
uses: actions/cache@v3
with:
path: |
cache_hardhat
artifacts
key: ${{ github.ref_name }}-hardhat
- name: Run Hardhat tests
run: yarn test