ci: print gofmt offenders for debugging
This commit is contained in:
1 parent
266a3d20b0
commit
31b9e110df
1 file changed
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user