From d71efb3489bdf167502a6c60c4473981bc659fac Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Wed, 21 Aug 2024 06:13:00 +0800 Subject: [PATCH] Makefile: update go-acc and linter versions --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e17e6446d7e..c8462700231 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,10 @@ GO_BIN := ${GOPATH}/bin LINT_BIN := $(GO_BIN)/golangci-lint GOACC_BIN := $(GO_BIN)/go-acc -LINT_COMMIT := v1.18.0 -GOACC_COMMIT := 80342ae2e0fcf265e99e76bcc4efd022c7c3811b +LINT_VERSION := v1.60.1 +GOACC_VERSION := v0.2.8 -DEPGET := cd /tmp && go get -v +DEPGET := cd /tmp && go install -v GOBUILD := go build -v GOINSTALL := go install -v DEV_TAGS := rpctest @@ -51,11 +51,11 @@ all: build check $(LINT_BIN): @$(call print, "Fetching linter") - $(DEPGET) $(LINT_PKG)@$(LINT_COMMIT) + $(DEPGET) $(LINT_PKG)@$(LINT_VERSION) $(GOACC_BIN): @$(call print, "Fetching go-acc") - $(DEPGET) $(GOACC_PKG)@$(GOACC_COMMIT) + $(DEPGET) $(GOACC_PKG)@$(GOACC_VERSION) #? goimports: Install goimports goimports: