You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by al...@apache.org on 2025/02/16 13:37:39 UTC
(kvrocks-controller) 01/02: Update for support Go 1.24
This is an automated email from the ASF dual-hosted git repository.
aleksraiden pushed a commit to branch upgrade_go1.24
in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git
commit 4656038b59c5cc7dc5aa4607a0bd720d34c1fe6b
Author: Aleks Lozovyuk <al...@gmail.com>
AuthorDate: Sun Feb 16 15:36:56 2025 +0200
Update for support Go 1.24
---
.github/workflows/ci.yaml | 4 ++--
.golangci.yml | 2 +-
Dockerfile | 2 +-
go.mod | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 08779ea..74a6d01 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -39,7 +39,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
- go-version: 1.23
+ go-version: 1.24
- name: Checkout Code Base
uses: actions/checkout@v4
@@ -66,7 +66,7 @@ jobs:
needs: [license-check, lint]
strategy:
matrix:
- go-version: [1.23, stable]
+ go-version: [1.24, stable]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
diff --git a/.golangci.yml b/.golangci.yml
index 8def6cc..dd73589 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -454,7 +454,7 @@ linters-settings:
unused:
# Select the Go version to target. The default is '1.13'.
- go: "1.23"
+ go: "1.24"
whitespace:
multi-if: false # Enforces newlines (or comments) after every multi-line if statement
diff --git a/Dockerfile b/Dockerfile
index df53ba2..5ca794f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
#
-FROM golang:1.23 as build
+FROM golang:1.24 as build
WORKDIR /kvctl
diff --git a/go.mod b/go.mod
index fb5d32c..74155d9 100644
--- a/go.mod
+++ b/go.mod
@@ -1,8 +1,8 @@
module github.com/apache/kvrocks-controller
-go 1.23
+go 1.24
-toolchain go1.23.4
+toolchain go1.24.0
require (
github.com/fatih/color v1.18.0