mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-28 04:46:30 -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
|
||||
|
||||
- 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