mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
vet the go format
This commit is contained in:
@ -22,11 +22,14 @@ addons:
|
||||
|
||||
before_install:
|
||||
- pwd
|
||||
- /bin/bash vet.sh
|
||||
|
||||
install:
|
||||
- cat /etc/hosts
|
||||
|
||||
before_script:
|
||||
- find . -name "*.go" | xargs gofmt -w
|
||||
- git diff --exit-code
|
||||
|
||||
script:
|
||||
- cd g
|
||||
- GOARCH=386 go test -v ./...
|
||||
|
||||
Reference in New Issue
Block a user