This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/answer.git

commit 03ec0ddfbb3492f9c28737488e3b1feeea16720a
Author: LinkinStars <[email protected]>
AuthorDate: Tue Jun 24 11:16:29 2025 +0800

    chore(deps): update Go version to 1.23 in configuration files
---
 .github/workflows/build-binary-for-release.yml | 2 +-
 Dockerfile                                     | 2 +-
 README.md                                      | 2 +-
 cmd/main.go                                    | 2 +-
 internal/cli/build.go                          | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/build-binary-for-release.yml 
b/.github/workflows/build-binary-for-release.yml
index ec97f042..49c53051 100644
--- a/.github/workflows/build-binary-for-release.yml
+++ b/.github/workflows/build-binary-for-release.yml
@@ -44,7 +44,7 @@ jobs:
     - name: Setup Go
       uses: actions/setup-go@v3
       with:
-        go-version: 1.22
+        go-version: 1.23
     - name: Run GoReleaser
       uses: goreleaser/goreleaser-action@v4
       with:
diff --git a/Dockerfile b/Dockerfile
index 929f321d..2e90a430 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM golang:1.22-alpine AS golang-builder
+FROM golang:1.23-alpine AS golang-builder
 LABEL maintainer="[email protected]"
 
 ARG GOPROXY
diff --git a/README.md b/README.md
index 8f5ae243..8fbb325b 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ You can also check out the [plugins 
here](https://answer.apache.org/plugins).
 
 ### Prerequisites
 
-- Golang >= 1.22
+- Golang >= 1.23
 - Node.js >= 20
 - pnpm >= 9
 - [mockgen](https://github.com/uber-go/mock?tab=readme-ov-file#installation) 
>= 1.6.0
diff --git a/cmd/main.go b/cmd/main.go
index 5bc26572..35256c07 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -49,7 +49,7 @@ var (
        // Time is the build time of the project
        Time = ""
        // GoVersion is the go version of the project
-       GoVersion = "1.22"
+       GoVersion = "1.23"
        // log level
        logLevel = os.Getenv("LOG_LEVEL")
        // log path
diff --git a/internal/cli/build.go b/internal/cli/build.go
index 2f43a911..43a7aa9f 100644
--- a/internal/cli/build.go
+++ b/internal/cli/build.go
@@ -62,7 +62,7 @@ func main() {
 `
        goModTpl = `module answer
 
-go 1.22
+go 1.23
 `
 )
 

Reply via email to