Skip to content

Commit 0a3c800

Browse files
committed
tests: print diff if changed are detected after dev/format-gomod
1 parent 5fc3e7a commit 0a3c800

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ jobs:
5252
- run: |
5353
changes=$(git status --porcelain)
5454
if [[ -n "${changes}" ]]; then
55-
echo "::error Changes detected from go mod tidy:"
55+
echo "::error Changes detected from dev/format-gomod:"
56+
git diff | head -n60
5657
echo "${changes}"
5758
exit 1
5859
fi

0 commit comments

Comments
 (0)