-
Notifications
You must be signed in to change notification settings - Fork 47
39 lines (31 loc) · 968 Bytes
/
contracts-storage.yaml
File metadata and controls
39 lines (31 loc) · 968 Bytes
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
name: 'Contracts: Storage check'
# This workflow is triggered from the main CI workflow.
on:
workflow_call:
env:
RPC_URL: https://filecoin-calibration.chainup.net/rpc/v1
PRIVATE_KEY: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
jobs:
storage:
name: Storage layout check
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: pnpm/action-setup@v2
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'pnpm'
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
version: v0.3.0
- name: Install Node dependencies
run: cd contracts && pnpm i --unsafe-perm
- name: Storage check
run: cd contracts && pnpm exec hardhat storage-layout --check