diff --git a/Makefile b/Makefile index 370fa443..8509dec1 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH)) TAG := $(VERSION)__$(OS)_$(ARCH) -GO_VERSION := 1.19.4 +GO_VERSION := 1.20 BUILD_IMAGE := golang:$(GO_VERSION)-alpine BIN_EXTENSION := diff --git a/build/lint.sh b/build/lint.sh index 59bf12b7..3e3b31e7 100755 --- a/build/lint.sh +++ b/build/lint.sh @@ -22,7 +22,7 @@ export CGO_ENABLED=0 export GO111MODULE=on cd tools >/dev/null -go install github.com/golangci/golangci-lint/cmd/golangci-lint +go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2 cd - >/dev/null echo -n "Running golangci-lint: " diff --git a/go.mod b/go.mod index 9bcd5a68..6f6ad033 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kubernetes-sigs/cluster-proportional-autoscaler -go 1.19 +go 1.20 require ( github.com/davecgh/go-spew v1.1.1