Skip to content

Commit 898c3e0

Browse files
fix: fail on storage diff (#759)
* fix: fail on storage diff * test(ci): add variable to see if ci fails * test(ci): remove variable
1 parent d2ae632 commit 898c3e0

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎.github/workflows/storage-report.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- uses: actions/checkout@v4
1313
with:
1414
submodules: recursive
15+
1516
- name: Install Foundry
1617
uses: foundry-rs/foundry-toolchain@v1
1718
with:
@@ -34,6 +35,9 @@ jobs:
3435
3536
- name: Compare outputs
3637
run: |
37-
if ! diff --unified pr target; then
38-
echo "::warning::Differences found between PR and target branch storage layouts"
39-
fi
38+
if diff --unified pr target; then
39+
echo "No differences found"
40+
else
41+
echo "::error::Differences found between PR and target branch storage layouts"
42+
exit 1
43+
fi

0 commit comments

Comments
 (0)