This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git
The following commit(s) were added to refs/heads/unstable by this push:
new 14dc992 Bump golang to 1.23 (#246)
14dc992 is described below
commit 14dc9929c49d4c0576a655095d0975188d4456fd
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Tue Jan 7 12:07:41 2025 +0200
Bump golang to 1.23 (#246)
Change go from 1.22 to 1.23
---
.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 984c3c7..e9bcc4b 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -27,7 +27,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
- go-version: 1.22
+ go-version: 1.23
- name: Checkout Code Base
uses: actions/checkout@v3
@@ -58,7 +58,7 @@ jobs:
needs: [lint]
strategy:
matrix:
- go-version: [1.22, stable]
+ go-version: [1.23, stable]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
diff --git a/.golangci.yml b/.golangci.yml
index 1c29278..8def6cc 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.19"
+ go: "1.23"
whitespace:
multi-if: false # Enforces newlines (or comments) after every multi-line
if statement
diff --git a/Dockerfile b/Dockerfile
index 17dc6b3..df53ba2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
#
-FROM golang:1.20 as build
+FROM golang:1.23 as build
WORKDIR /kvctl
diff --git a/go.mod b/go.mod
index ff73c3e..1ddee64 100644
--- a/go.mod
+++ b/go.mod
@@ -1,8 +1,8 @@
module github.com/apache/kvrocks-controller
-go 1.22
+go 1.23
-toolchain go1.22.9
+toolchain go1.23.4
require (
github.com/fatih/color v1.16.0