-
Notifications
You must be signed in to change notification settings - Fork 14
45 lines (41 loc) · 1.12 KB
/
storage-layout.yaml
File metadata and controls
45 lines (41 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "Storage Layout"
env:
FOUNDRY_PROFILE: "ci"
on:
workflow_dispatch:
push:
branches:
- "main"
- "develop"
jobs:
check_storage_layout:
name: Check storage layout
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
contract:
- contracts/swap/Broker.sol:Broker
- contracts/swap/BiPoolManager.sol:BiPoolManager
- contracts/swap/Reserve.sol:Reserve
- contracts/oracles/BreakerBox.sol:BreakerBox
- contracts/tokens/StableTokenV2.sol:StableTokenV2
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1.2.0
with:
version: "nightly"
- name: "Install Node.js"
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.9
with:
contract: ${{ matrix.contract }}