From 9e8600cd659bb3a6d8b3ae14214cbd2c9a644637 Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Thu, 14 Nov 2024 14:42:38 +0800 Subject: [PATCH 1/3] refactor(deps): bump go from 1.21 to 1.22 Signed-off-by: Shubham Gupta --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 0aac98ace..6dd0f7a46 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/OT-CONTAINER-KIT/redis-operator -go 1.21 +go 1.22 require ( github.com/banzaicloud/k8s-objectmatcher v1.8.0 From eb24452709277e7723345232d7c8fd7c41db02be Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Thu, 14 Nov 2024 14:43:47 +0800 Subject: [PATCH 2/3] ci: bump go version Signed-off-by: Shubham Gupta --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5a1575dae..ae57deaee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.21 AS builder +FROM golang:1.22 as builder ARG BUILDOS ARG BUILDPLATFORM ARG BUILDARCH From a58c6a07679a06d247bfb9cd63027cebf7031c65 Mon Sep 17 00:00:00 2001 From: drivebyer Date: Thu, 14 Nov 2024 14:47:40 +0800 Subject: [PATCH 3/3] update --- .github/workflows/ci.yaml | 2 +- .golangci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a77faa8f6..a68bf24f3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ permissions: contents: read env: - GOLANG_VERSION: 1.21 + GOLANG_VERSION: 1.22 APPLICATION_NAME: redis-operator DockerImagName: docker.io/opstree/redis-operator BuildDocs: true diff --git a/.golangci.yml b/.golangci.yml index 1f6276d5a..1ff28d4d5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -47,7 +47,7 @@ linters: run: timeout: 15m - go: "1.21" + go: "1.22" tests: true show-stats: true skip-files: