vault-csi-provider icon indicating copy to clipboard operation
vault-csi-provider copied to clipboard

Unable to run make test because golangci-lint is not specified in requirements

Open burtlo opened this issue 5 years ago • 0 comments
trafficstars

Make test fails because golangci-lint is NOT installed.

$ make test
rm -rf _output
Setup...
go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/franklinwebber/Library/Caches/go-build"
GOENV="/Users/franklinwebber/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/franklinwebber/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.14/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.14/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/lynnfrank/hashicorp/secrets-store-csi-driver-provider-vault/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/ct/ywz_985n5cjd9fjjrz3p33kw0000gn/T/go-build851528317=/tmp/go-build -gno-record-gcc-switches -fno-common"
==> Running static validations and linters <==
golangci-lint run
make: golangci-lint: No such file or directory
make: *** [test-style] Error 1

It should be defined as a requirement or installed with the setup.

https://github.com/golangci/golangci-lint

burtlo avatar Mar 19 '20 22:03 burtlo