Skip to content

Commit

Permalink
feat: add check in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Sep 7, 2022
1 parent fa74de6 commit ca160ce
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci-storage-layout-aave-v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Storage layout check (Morpho-Compound)

on:
push:
branches:
- main
- dev
pull_request:

jobs:
check:
name: storage layout check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly

- name: Foundry fork cache
uses: actions/cache@v3
with:
path: |
cache
out
key: foundry-${{ hashFiles('Makefile', 'foundry.toml') }} # where fork block numbers & RPC are stored

- name: Run tests
run: make storage-layout-check
env:
PROTOCOL: aave-v2

0 comments on commit ca160ce

Please sign in to comment.