From 2ed810b6aa05a810f2903d44b49ca5722a98364e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Fri, 30 Aug 2024 22:43:29 +0200 Subject: [PATCH] chore: Bump go to 1.23.0 --- .github/workflows/ci.yml | 4 ++-- Makefile | 2 +- go.mod | 4 +--- tools/go.mod | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f305704827..7ad3b8071f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,8 +20,8 @@ env: E2E_SETUP_KIND: yes E2E_SETUP_KUBECTL: yes SUDO: sudo - GO_VERSION: "^1.22" - GOLANGCI_LINT_VERSION: "v1.56.2" + GO_VERSION: "^1.23" + GOLANGCI_LINT_VERSION: "v1.60.1" jobs: ci-go-lint: diff --git a/Makefile b/Makefile index 467b73e6b0..3295f965ba 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ OS ?= $(shell uname -s | tr A-Z a-z) ALL_ARCH = amd64 arm arm64 ppc64le s390x PKG = github.com/prometheus/common PROMETHEUS_VERSION = 2.53.1 -GO_VERSION = 1.22.5 +GO_VERSION = 1.23.0 IMAGE = $(REGISTRY)/kube-state-metrics MULTI_ARCH_IMG = $(IMAGE)-$(ARCH) USER ?= $(shell id -u -n) diff --git a/go.mod b/go.mod index 206ce2a1b8..fefbc9f72a 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module k8s.io/kube-state-metrics/v2 -go 1.22.0 - -toolchain go1.22.5 +go 1.23.0 require ( github.com/KimMachineGun/automemlimit v0.6.1 diff --git a/tools/go.mod b/tools/go.mod index 8f25270889..302640a667 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module k8s.io/kube-state-metrics/v2/tools -go 1.21 +go 1.23.0 require ( github.com/brancz/gojsontoyaml v0.1.0