mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-21 14:26:30 -04:00
Perform gofmt -s check
This commit is contained in:
@@ -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 ./...
|
||||
|
||||
Reference in New Issue
Block a user