mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 16:37:20 -04:00
run gofmt in CI
This commit is contained in:
@@ -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