@@ -58,7 +58,7 @@ GO_LDFLAGS += -s -w
5858endif
5959
6060# supported go versions
61- GO_SUPPORTED_VERSIONS ?= 1.21 |1.22
61+ GO_SUPPORTED_VERSIONS ?= 1.23 |1.24
6262
6363# set GOOS and GOARCH
6464GOOS := $(OS )
@@ -72,7 +72,7 @@ GOHOSTARCH := $(HOSTARCH)
7272
7373GO_PACKAGES := $(foreach t,$(GO_SUBDIRS ) ,$(GO_PROJECT ) /$(t ) /...)
7474GO_TEST_PACKAGES ?= $(shell go list -f '{{ if or .TestGoFiles .XTestGoFiles }}{{ .ImportPath }}{{ end }}' $(foreach t,$(GO_SUBDIRS ) ,$(GO_PROJECT ) /$(t ) /...) )
75- GO_INTEGRATION_TEST_PACKAGES ?= $(foreach t,$(GO_INTEGRATION_TESTS_SUBDIRS ) ,$(GO_PROJECT ) /$(t ) /integration )
75+ GO_INTEGRATION_TEST_PACKAGES ?= $(foreach t,$(GO_INTEGRATION_TESTS_SUBDIRS ) ,$(GO_PROJECT ) /$(t ) )
7676
7777ifneq ($(GO_TEST_PARALLEL ) ,)
7878GO_TEST_FLAGS += -p $(GO_TEST_PARALLEL )
@@ -200,7 +200,7 @@ DEP_DOWNLOAD_URL ?= https://github.com/golang/dep/releases/download/v$(DEP_VERSI
200200$(eval $(call tool.download,dep,$(DEP_VERSION),$(DEP_DOWNLOAD_URL)))
201201endif
202202
203- GOLANGCI_LINT_VERSION ?= 1.55.2
203+ GOLANGCI_LINT_VERSION ?= 1.64.6
204204GOLANGCI_LINT_DOWNLOAD_URL ?= https://github.com/golangci/golangci-lint/releases/download/v$(GOLANGCI_LINT_VERSION ) /golangci-lint-$(GOLANGCI_LINT_VERSION ) -$(HOSTOS ) -$(HOSTARCH ) .tar.gz
205205$(eval $(call tool.download.tar.gz,golangci-lint,$(GOLANGCI_LINT_VERSION),$(GOLANGCI_LINT_DOWNLOAD_URL)))
206206
@@ -212,20 +212,20 @@ endif
212212
213213# we use a consistent version of gofmt even while running different go compilers.
214214# see https://github.com/golang/go/issues/26397 for more details
215- GOFMT_VERSION ?= 1.22
215+ GOFMT_VERSION ?= 1.24
216216GOFMT_DOWNLOAD_URL ?= https://dl.google.com/go/go$(GOFMT_VERSION ) .$(HOSTOS ) -$(HOSTARCH ) .tar.gz
217217ifneq ($(findstring $(GOFMT_VERSION ) ,$(GO_VERSION ) ) ,)
218218GOFMT := $(shell which gofmt)
219219else
220220$(eval $(call tool.download.tar.gz,gofmt,$(GOFMT_VERSION),$(GOFMT_DOWNLOAD_URL),bin/gofmt))
221221endif
222222
223- GOIMPORTS_VERSION ?= v0.20 .0
223+ GOIMPORTS_VERSION ?= v0.30 .0
224224GOIMPORTS_URL ?= golang.org/x/tools/cmd/goimports
225225$(eval $(call tool.go.install,goimports,$(GOIMPORTS_VERSION),$(GOIMPORTS_URL)))
226226
227227ifeq ($(GO_TEST_TOOL ) ,ginkgo)
228- GINKGO_VERSION ?= v2.18.0
228+ GINKGO_VERSION ?= v2.22.2
229229GINKGO_URL ?= github.com/onsi/ginkgo/v2/ginkgo
230230$(eval $(call tool.go.install,ginkgo,$(GINKGO_VERSION),$(GINKGO_URL)))
231231else # GO_TEST_TOOL != ginkgo
0 commit comments