A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
chore(deps): update Go version to 1.23 in configuration files
LinkinStars03ec0ddfbb34
diff --git a/.github/workflows/build-binary-for-release.yml b/.github/workflows/build-binary-for-release.ymlindex 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 Gouses: actions/setup-go@v3with:- go-version: 1.22+ go-version: 1.23- name: Run GoReleaseruses: goreleaser/goreleaser-action@v4with:diff --git a/Dockerfile b/Dockerfileindex 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-builderLABEL maintainer="[email protected]"ARG GOPROXYdiff --git a/README.md b/README.mdindex 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.0diff --git a/cmd/main.go b/cmd/main.goindex 5bc26572..35256c07 100644--- a/cmd/main.go+++ b/cmd/main.go@@ -49,7 +49,7 @@ var (// Time is the build time of the projectTime = ""// GoVersion is the go version of the project- GoVersion = "1.22"+ GoVersion = "1.23"// log levellogLevel = os.Getenv("LOG_LEVEL")// log pathdiff --git a/internal/cli/build.go b/internal/cli/build.goindex 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`)