Updated golandci-lint to 1.21.0
Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
committed by
Michal Matczuk
parent
3e60935d2a
commit
1668ca5832
6
Makefile
6
Makefile
@@ -4,10 +4,6 @@ ifndef GOBIN
|
||||
export GOBIN := $(GOPATH)/bin
|
||||
endif
|
||||
|
||||
define dl
|
||||
@curl -sSq -L $(2) -o $(GOBIN)/$(1) && chmod u+x $(GOBIN)/$(1)
|
||||
endef
|
||||
|
||||
define dl_tgz
|
||||
@curl -sSq -L $(2) | tar zxf - --strip 1 -C $(GOBIN) --wildcards '*/$(1)'
|
||||
endef
|
||||
@@ -40,4 +36,4 @@ get-deps:
|
||||
.PHONY: get-tools
|
||||
get-tools:
|
||||
@echo "==> Installing tools at $(GOBIN)..."
|
||||
@$(call dl_tgz,golangci-lint,https://github.com/golangci/golangci-lint/releases/download/v1.10.2/golangci-lint-1.10.2-linux-amd64.tar.gz)
|
||||
@$(call dl_tgz,golangci-lint,https://github.com/golangci/golangci-lint/releases/download/v1.21.0/golangci-lint-1.21.0-linux-amd64.tar.gz)
|
||||
|
||||
Reference in New Issue
Block a user