Skip to content

Commit

Permalink
check what files are changed in the job
Browse files Browse the repository at this point in the history
  • Loading branch information
ricomateo committed Jan 29, 2025
1 parent 56f8622 commit 5c5a3b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check-anvil-dump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
- name: Check the anvil dump has changed
working-directory: crates/contracts/anvil/contracts_deployed_anvil_state.json
run: |
# Run git diff to check all changes
git diff
git diff state.json
if [ $? -eq 0 ]; then
echo "The anvil dump is outdated";
exit 1
fi

0 comments on commit 5c5a3b4

Please sign in to comment.