ci: try yet another way for goimports check

Signed-off-by: Kirill Danshin <kirill@danshin.pro>
This commit is contained in:
Kirill Danshin
2018-08-13 01:27:46 +03:00
parent ae73e1bec7
commit f5f97aa484
+1 -1
View File
@@ -19,7 +19,7 @@ before_install:
- go get -v golang.org/x/tools/cmd/goimports
script:
- test -z $(goimports -d .)
- test -z $(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*"))
# build test for supported platforms
- GOOS=linux go build
- GOOS=darwin go build