Merge pull request #254 from morpho-org/docs/implement-optimizers-naming #135
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 | |
pull_request: | |
paths: | |
- lib/** | |
- src/** | |
- "*.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 | |
ssh-key: ${{ secrets.CI_PRIVATE_KEY }} | |
- 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: Check SupplyVault storage layout | |
uses: Rubilmax/[email protected] | |
with: | |
contract: src/aave-v2/SupplyVault.sol:SupplyVault |