Skip to content

Commit 6121f87

Browse files
committed
Update workflows to print diff
1 parent de53ff9 commit 6121f87

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/protobuf-conformance.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ jobs:
2323
run: |
2424
if [[ -n "$(git status --porcelain | grep tests/protobuf-conformance/)" ]]; then
2525
echo "Protobuf conformance test is not up to date. Please run './gradlew tests:protobuf-conformance:bufGenerateMain' and commit changes"
26+
git status --porcelain
27+
git diff --minimal | cat
2628
exit 1
2729
fi

.github/workflows/protobuf-well-known-types.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,7 @@ jobs:
2323
run: |
2424
if [[ -n "$(git status --porcelain | grep protobuf/protobuf-core/)" ]]; then
2525
echo "Well-Known Types are not up-to-date. Please run './gradlew :protobuf:protobuf-core:bufGenerateCommonMain' and commit changes"
26+
git status --porcelain
27+
git diff --minimal | cat
2628
exit 1
2729
fi

0 commit comments

Comments
 (0)