From dbac4ccbda9e0c7244ddfb96cd3ed47eada4dfd2 Mon Sep 17 00:00:00 2001 From: Denis Volkov <3149929+Denchick@users.noreply.github.com> Date: Wed, 4 Sep 2024 10:39:38 +0200 Subject: [PATCH] update to the latest go version 1.23.0 (#756) --- .github/workflows/codeql.yml | 2 +- .github/workflows/linters.yaml | 2 +- docker/spqr/Dockerfile | 2 +- go.mod | 2 +- test/xproto/Dockerfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 89984658e..c5b554391 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -9,7 +9,7 @@ on: - cron: '30 06 * * 6' env: - GO_VERSION: 1.22.2 + GO_VERSION: 1.23.0 jobs: analyze: diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index 203cdbb88..5206475a5 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: '1.23.0' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v6 diff --git a/docker/spqr/Dockerfile b/docker/spqr/Dockerfile index 75b909c7f..314670099 100644 --- a/docker/spqr/Dockerfile +++ b/docker/spqr/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 +FROM golang:1.23.0 COPY ./ /spqr RUN cd /spqr && make && make build GIT_REVISION=devel SPQR_VERSION=devel diff --git a/go.mod b/go.mod index 52fa314f4..f50f82da9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/pg-sharding/spqr -go 1.21 +go 1.23.0 require ( github.com/BurntSushi/toml v1.4.0 diff --git a/test/xproto/Dockerfile b/test/xproto/Dockerfile index 2cfcc3b06..320f189db 100644 --- a/test/xproto/Dockerfile +++ b/test/xproto/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 +FROM golang:1.23.0 WORKDIR /root COPY . /root