diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d2b6e7..8e1ad82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,4 +18,6 @@ jobs: - name: Build, Test, Lint run: | + export GOPATH=$HOME/go && export GOBIN=$(go env GOPATH)/bin && export PATH=$PATH:$GOPATH&& export PATH=$PATH:$GOBIN && mkdir -p $GOBIN + GO111MODULE=on make bootstrap build test lint diff --git a/Makefile b/Makefile index ad36ddd..d44f29b 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,6 @@ test: lint: golangci-lint run --config ./golangci.yml -HAS_DEP := $(shell $(CHECK) dep) HAS_GOLANGCI := $(shell $(CHECK) golangci-lint) HAS_GOIMPORTS := $(shell $(CHECK) goimports) GOLANGCI_VERSION := v1.16.0