Skip to content

Commit

Permalink
Update Golang to 1.20.
Browse files Browse the repository at this point in the history
Also pin golangci-lint to v1.51.2 to avoid a memory leak issue:
golangci/golangci-lint#3565.
  • Loading branch information
MrHohn committed Mar 3, 2023
1 parent 3400587 commit d813700
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 :=
Expand Down
2 changes: 1 addition & 1 deletion build/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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: "
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d813700

Please sign in to comment.