Update .storage-layout #5
Workflow file for this run
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: Update .storage-layout | |
on: | |
workflow_dispatch: | |
jobs: | |
assert: | |
runs-on: ubuntu-latest | |
name: Update 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: "npm" | |
- name: Install node deps | |
run: npm ci | |
- name: Generate new .storage-layout | |
uses: lidofinance/storage-layout-action@v1 | |
with: | |
mode: generate | |
src-folder: ./contracts | |
ignore-folders: stubs | |
- name: Create Pull Request | |
uses: lidofinance/create-pull-request@v4 | |
with: | |
add-paths: .storage-layout | |
branch: update-storage-layout-${{ github.ref_name }} | |
delete-branch: true | |
commit-message: "fix: Make storage-layout up to date" | |
title: "Update .storage-layout for ${{ github.ref_name }} branch" | |
body: "This PR is generated automatically. Merge it to apply new version of .storage-layout" |