This is an automated email from the ASF dual-hosted git repository. aleksraiden pushed a commit to branch aleksraiden-go123 in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git
commit 0f208d6e188717897dfcab9a2a63a87846f56980 Author: Aleks Lozovyuk <[email protected]> AuthorDate: Tue Jan 7 11:29:06 2025 +0200 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 77d8437..5b56a2d 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
