feat build: Test if 'go fmt' has been applied
This commit is contained in:
parent
8c7a3d6c30
commit
68e1e48459
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
language: go
|
||||
before_script:
|
||||
- if [[ -n "$(go fmt ./...)" ]]; then echo 'Run go fmt!' && exit 1; fi
|
||||
- go vet ./...
|
||||
|
|
Loading…
Reference in a new issue