mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-10-27 11:59:56 -04:00
run gofmt in CI
This commit is contained in:
1 parent
d20dc58bbf
commit
390702b097
1 file changed
+4
-1
@@ -25,4 +25,7 @@ jobs:
|
|||||||
run: cd examples && go mod tidy && go build syncat.go
|
run: cd examples && go mod tidy && go build syncat.go
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v
|
run: |
|
||||||
|
FMT_ISSUES=$(gofmt -l .)
|
||||||
|
if test -n "$FMT_ISSUES" ;then printf "gofmt found problems:\n$FMT_ISSUES\n";exit 11; fi
|
||||||
|
go test -v
|
||||||
Reference in new issue
Block a user