Skip to content

Commit

Permalink
Feat/update storage layout action (#565)
Browse files Browse the repository at this point in the history
### Description

Storage layout check GH action is failing because of the issue described
here:
Rubilmax/foundry-storage-check#178

This PR updates the action to the latest release that includes a fix for
this issue

### Other changes

Uses official foundry toolchain and newer versions of checkout and
setup-node actions

### Tested

https://github.com/mento-protocol/mento-core/actions/runs/12201703113
  • Loading branch information
baroooo authored Dec 16, 2024
1 parent 218ed8c commit 2fe2367
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/storage-layout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ jobs:
- contracts/oracles/BreakerBox.sol:BreakerBox
- contracts/tokens/StableTokenV2.sol:StableTokenV2
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
uses: foundry-rs/foundry-toolchain@v1.2.0
with:
version: "nightly"
- name: "Install Node.js"
uses: "actions/setup-node@v3"
uses: "actions/setup-node@v4"
with:
cache: "yarn"
node-version: "20"

- name: "Install the Node.js dependencies"
run: "yarn install --immutable"
- name: Check storage layout
uses: Rubilmax/foundry-storage-check@v3.2.1
uses: Rubilmax/foundry-storage-check@v3.9
with:
contract: ${{ matrix.contract }}

0 comments on commit 2fe2367

Please sign in to comment.