Skip to content

Feat: Update legacy withdrawal timestamp param to legacy withdrawal check #380

Feat: Update legacy withdrawal timestamp param to legacy withdrawal check

Feat: Update legacy withdrawal timestamp param to legacy withdrawal check #380

Workflow file for this run

name: Check Storage Layout
on:
workflow_dispatch:
pull_request:
push:
branches:
- "dev"
jobs:
check_storage:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: "Generate and prepare the storage reports for current branch"
run: |
bash bin/storage-report.sh pr
- name: Checkout dev
env:
TARGET: ${{ github.event.pull_request.base.sha }}
run: |
git fetch origin $TARGET
git checkout $TARGET
- name: "Generate and prepare the storage reports for target branch"
run: |
bash bin/storage-report.sh target
- name: Compare outputs
run: |
if ! diff --unified pr target; then
echo "::warning::Differences found between PR and target branch storage layouts"
fi