From 641abcd0c889049667e8f35151ad90be1930aa12 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Wed, 21 Aug 2024 14:47:36 +0800 Subject: [PATCH] Makefile: update `goacc` and `linter` versions --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 720cc05360..4aa9aa8070 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,9 @@ GO_BIN := ${GOPATH}/bin LINT_BIN := $(GO_BIN)/golangci-lint GOACC_BIN := $(GO_BIN)/go-acc -LINT_COMMIT := v1.46.0 -GOACC_COMMIT := 80342ae2e0fcf265e99e76bcc4efd022c7c3811b +LINT_VERSION := v1.60.1 +GOACC_VERSION := v0.2.8 + GOIMPORTS_COMMIT := v0.1.10 GOBUILD := GO111MODULE=on go build -v @@ -51,11 +52,11 @@ all: build check $(LINT_BIN): @$(call print, "Fetching linter") - $(GOINSTALL) $(LINT_PKG)@$(LINT_COMMIT) + $(GOINSTALL) $(LINT_PKG)@$(LINT_VERSION) $(GOACC_BIN): @$(call print, "Fetching go-acc") - $(GOINSTALL) $(GOACC_PKG)@$(GOACC_COMMIT) + $(GOINSTALL) $(GOACC_PKG)@$(GOACC_VERSION) #? goimports: Install goimports goimports: @@ -146,4 +147,4 @@ help: Makefile @echo " Choose a command run in btcwallet:" @sed -n 's/^#?//p' $< | column -t -s ':' | sort | sed -e 's/^/ /' -.PHONY: help \ No newline at end of file +.PHONY: help