install goimports before make build-linux
make build-linux assumes goimports in $PATH. It isn't by default, so install it manually
@@ -9,9 +9,10 @@ jobs:
GO111MODULE: "on"
steps:
- checkout
+ - run: go get -u golang.org/x/lint/golint
+ - run: go get -u golang.org/x/tools/cmd/goimports
- run: make check-format
- run: make build-linux
- - run: go get -u golang.org/x/lint/golint
- run: make lint
- run: make vet
- run: make unit-test
