Merge pull request #1672 from morpho-org/chore/ci-auto-trigger #456
This file contains 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
name: Storage layout checks | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
paths: | |
- lib/** | |
- src/common/** | |
- src/aave-v2/** | |
- "*.lock" | |
- remappings.txt | |
- .github/workflows/ci-storage-check-aave-v2.yml | |
jobs: | |
morpho-aave-v2: | |
name: morpho-aave-v2 | |
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 | |
shell: bash | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Check Lens storage layout | |
uses: Rubilmax/[email protected] | |
with: | |
contract: src/aave-v2/lens/Lens.sol:Lens | |
- name: Check Morpho storage layout | |
uses: Rubilmax/[email protected] | |
with: | |
contract: src/aave-v2/Morpho.sol:Morpho |