Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0xClandestine committed Sep 16, 2024
1 parent de2b326 commit a483bc8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/storage-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ jobs:
with:
version: nightly

- name: "Generate and prepare the contract artifacts for current branch"
- name: "Generate and prepare the storage reports for current branch"
run: |
bash bin/storage-report.sh pr
- name: Checkout main
- name: Checkout dev
env:
MAIN: ${{ github.event.pull_request.base.sha }}
TARGET: ${{ github.event.pull_request.base.sha }}
run: |
git fetch origin $MAIN
git checkout $MAIN
git fetch origin $TARGET
git checkout $TARGET
- name: "Generate and prepare the contract artifacts for main branch"
- name: "Generate and prepare the storage reports for target branch"
run: |
bash bin/storage-report.sh main
bash bin/storage-report.sh target
- name: Compare outputs
run: |
if ! diff --unified pr main; then
echo "::warning::Differences found between PR and main storage layouts"
if ! diff --unified pr target; then
echo "::warning::Differences found between PR and target branch storage layouts"
fi

0 comments on commit a483bc8

Please sign in to comment.