From 458a12d2d75b297d87532b0e0966799c240fa663 Mon Sep 17 00:00:00 2001 From: Vatsal Parekh Date: Wed, 29 Jan 2025 19:35:43 +0530 Subject: [PATCH] [release/v0.3] Upgrade go version to 1.23 (#449) * Upgrade go version to 1.23 Signed-off-by: Vatsal Parekh * Upgrade golangci-lint to 1.63.4 Signed-off-by: Vatsal Parekh --------- Signed-off-by: Vatsal Parekh --- .github/workflows/ci.yaml | 2 +- Dockerfile | 2 +- go.mod | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 78e6ce1f..c88d7c11 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,7 +24,7 @@ jobs: - name: Install golangci-lint uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1 with: - version: v1.59.0 + version: v1.63.4 - name: Build run: make build-bin - name: Test diff --git a/Dockerfile b/Dockerfile index 8636bf25..fd438c9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax = docker/dockerfile:experimental -FROM registry.suse.com/bci/golang:1.22 as build +FROM registry.suse.com/bci/golang:1.23 as build COPY go.mod go.sum main.go /src/ COPY pkg /src/pkg/ #RUN --mount=type=cache,target=/root/.cache/go-build \ diff --git a/go.mod b/go.mod index ee85526a..3c044f08 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/rancher/steve -go 1.22.0 +go 1.23.0 -toolchain go1.22.7 +toolchain go1.23.4 // pin Kubernetes dependencies to v0.30.1, which is the version // Rancher 2.9 is compiled against as newer lasso versions