Merge pull request #766 from lidofinance/develop #1
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: Assert storage layout changes | |
on: | |
push: | |
branches: [develop, master] | |
pull_request: | |
branches: [develop, master] | |
jobs: | |
assert: | |
runs-on: ubuntu-latest | |
name: Assert storage layout | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node.js version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: 'yarn' | |
- name: Submodules | |
run: git submodule update --init --recursive | |
- name: Install yarn deps | |
run: yarn | |
- name: Check storage-layout | |
uses: lidofinance/storage-layout-action@v1 | |
with: | |
mode: check | |
src-folder: ./contracts | |
ignore-folders: '{test_helpers,template,mocks}' |