Skip to content

Commit 837b62b

Browse files
check git diff produces expected output in workflow
1 parent 6e6a926 commit 837b62b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-with-soroban-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
done
7676
7777
- name: Diff
78-
run: git diff
78+
run: (! git diff --exit-code) || (echo 'A diff is expected'; exit 1)
7979

8080
- name: Build soroban-examples
8181
env:

0 commit comments

Comments
 (0)