Fixed environment variable settings
@@ -12,6 +12,9 @@ jobs:
id: go
- run: make setup
- run: |
+ mkdir -p $HOME/go
+ export GOPATH=$HOME/go
+ export GOBIN=$GOPATH/bin
go get golang.org/x/tools/cmd/goimports
go get golang.org/x/lint/golint
go get github.com/gordonklaus/ineffassign
@@ -22,5 +25,7 @@ jobs:
make manifests generate
diffs=$(git diff --name-only)
if [ "$diffs" != "" ]; then printf "%s\n" "$diffs"; exit 1; fi
- - run: make test
+ - run: |
+ export PATH=$PATH:$HOME/go/bin
+ make test
- run: make build
