mirror of https://github.com/milvus-io/milvus.git
Upgrade golangci-lint to support more linters (#12784)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>pull/12784/merge
parent
9eb3d663a4
commit
c641e66f98
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ get-build-deps:
|
|||
|
||||
getdeps:
|
||||
@mkdir -p ${GOPATH}/bin
|
||||
@which golangci-lint 1>/dev/null || (echo "Installing golangci-lint" && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.27.0)
|
||||
@which golangci-lint 1>/dev/null || (echo "Installing golangci-lint" && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.43.0)
|
||||
@which ruleguard 1>/dev/null || (echo "Installing ruleguard" && go get github.com/quasilyte/go-ruleguard/cmd/ruleguard@v0.2.1)
|
||||
|
||||
tools/bin/revive: tools/check/go.mod
|
||||
|
|
Loading…
Reference in New Issue