From f192e7d07074886ab86215e55e2b5b96fadc4b7a Mon Sep 17 00:00:00 2001 From: Renu Bhati Date: Thu, 2 Jan 2025 13:27:44 +0530 Subject: [PATCH] removed conditional check since go.mod has go version 1.22 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4efd544a8f4..4810773aa6c 100644 --- a/Makefile +++ b/Makefile @@ -179,7 +179,8 @@ golangci-lint-check: | $(GOLANGCILINT) ; $(info $(M) Testing if golint has been $Q $(GOLANGCILINT) run -j 1 --color=never GOIMPORTS = $(BIN)/goimports -$(BIN)/goimports: PACKAGE=golang.org/x/tools/cmd/goimports +$(BIN)/goimports: | $(BIN) ; $(info $(M) building goimports…) + GOBIN=$(BIN) go install golang.org/x/tools/cmd/goimports@latest .PHONY: goimports goimports: | $(GOIMPORTS) ; $(info $(M) running goimports…) ## Run goimports