mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 12:16:16 +08:00
Perform gofmt -s check
This commit is contained in:
parent
f4c729bd22
commit
eb279e7e8a
|
@ -20,5 +20,6 @@ install:
|
|||
- go get golang.org/x/tools/cmd/vet
|
||||
|
||||
script:
|
||||
- [ -z "$(find -name "*.go" | xargs gofmt -s -l)" ] || exit 1
|
||||
- go vet ./...
|
||||
- go test ./...
|
||||
|
|
Loading…
Reference in New Issue
Block a user