ci: print gofmt offenders for debugging

This commit is contained in:
風雪 committed 2026-09-30 21:40:09 +08:00
1 parent 266a3d20b0
commit 31b9e110df
1 file changed
+4 -1
+4 -1
View File
@@ -20,7 +20,10 @@ jobs:
go-version-file: backend/go.mod
cache: true
- name: Go format check
run: test -z "$(gofmt -l .)"
run: |
echo "GOFMT_FILES:"
gofmt -l .
test -z "$(gofmt -l .)"
- name: Go vet
run: go vet ./...
- name: Go tests