Skip to content

Commit 8ef64b3

Browse files
authored
chore: github workflows use go1.23 (#9439)
1 parent d576976 commit 8ef64b3

10 files changed

Lines changed: 18 additions & 43 deletions

.github/localflows/cicd-local.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/localflows/github-action-locally.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/cicd-pull-request.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
env:
1111
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1212
BASE_BRANCH: origin/main
13-
GO_VERSION: "1.21"
13+
GO_VERSION: "1.23"
1414

1515
jobs:
1616
trigger-mode:
@@ -118,7 +118,7 @@ jobs:
118118
with:
119119
MAKE_OPS_PRE: "generate"
120120
IMG: "apecloud/kubeblocks"
121-
GO_VERSION: "1.21"
121+
GO_VERSION: "1.23"
122122
BUILDX_PLATFORMS: "linux/amd64"
123123
DOCKERFILE_PATH: "./docker/Dockerfile"
124124
BUILDX_ARGS: |
@@ -134,7 +134,7 @@ jobs:
134134
with:
135135
MAKE_OPS_PRE: "module generate test-go-generate"
136136
IMG: "apecloud/kubeblocks-tools"
137-
GO_VERSION: "1.21"
137+
GO_VERSION: "1.23"
138138
BUILDX_PLATFORMS: "linux/amd64"
139139
DOCKERFILE_PATH: "./docker/Dockerfile-tools"
140140
secrets: inherit
@@ -161,7 +161,7 @@ jobs:
161161
CHART_DIR: "deploy/helm"
162162
APECD_REF: "v0.1.43"
163163
MAKE_OPS_POST: "install"
164-
GO_VERSION: "1.21"
164+
GO_VERSION: "1.23"
165165
secrets: inherit
166166

167167
pr-check:

.github/workflows/cicd-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
env:
1111
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1212
BASE_BRANCH: origin/main
13-
GO_VERSION: "1.21"
13+
GO_VERSION: "1.23"
1414

1515
jobs:
1616
trigger-mode:
@@ -161,7 +161,7 @@ jobs:
161161
with:
162162
MAKE_OPS_PRE: "generate"
163163
IMG: "apecloud/kubeblocks"
164-
GO_VERSION: "1.21"
164+
GO_VERSION: "1.23"
165165
BUILDX_PLATFORMS: "linux/amd64"
166166
DOCKERFILE_PATH: "./docker/Dockerfile"
167167
BUILDX_ARGS: |
@@ -177,7 +177,7 @@ jobs:
177177
with:
178178
MAKE_OPS_PRE: "module generate test-go-generate"
179179
IMG: "apecloud/kubeblocks-tools"
180-
GO_VERSION: "1.21"
180+
GO_VERSION: "1.23"
181181
BUILDX_PLATFORMS: "linux/amd64"
182182
DOCKERFILE_PATH: "./docker/Dockerfile-tools"
183183
secrets: inherit
@@ -203,7 +203,7 @@ jobs:
203203
CHART_DIR: "deploy/helm"
204204
APECD_REF: "v0.1.43"
205205
MAKE_OPS_POST: "install"
206-
GO_VERSION: "1.21"
206+
GO_VERSION: "1.23"
207207
secrets: inherit
208208

209209
deploy-kubeblocks-io:

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
BASE_BRANCH: origin/main
11-
GO_VERSION: "1.21"
11+
GO_VERSION: "1.23"
1212

1313
jobs:
1414
trigger-mode:

.github/workflows/package-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ run-name: ref_name:${{ github.ref_name }} release_version:${{ inputs.release_ver
1616

1717
env:
1818
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
19-
GO_VERSION: "1.21"
19+
GO_VERSION: "1.23"
2020

2121
jobs:
2222
package-version:

.github/workflows/release-helm-chart.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
CHART_DIR: "deploy/helm"
4545
APECD_REF: "v0.1.86"
4646
MAKE_OPS_POST: "install"
47-
GO_VERSION: "1.21"
47+
GO_VERSION: "1.23"
4848
secrets: inherit
4949

5050
release-addons-chart:
@@ -75,7 +75,7 @@ jobs:
7575
MAKE_OPS_PRE: "helm-package VERSION=${{ needs.release-version.outputs.release-version-bump }}"
7676
IMG: "apecloud/kubeblocks-charts"
7777
VERSION: "${{ needs.release-version.outputs.release-version }}"
78-
GO_VERSION: "1.21"
78+
GO_VERSION: "1.23"
7979
APECD_REF: "v0.1.86"
8080
DOCKERFILE_PATH: "./docker/Dockerfile-charts"
8181
secrets: inherit

.github/workflows/release-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
MAKE_OPS_PRE: "generate"
7171
IMG: "apecloud/kubeblocks"
7272
VERSION: "${{ needs.release-version.outputs.release-version }}"
73-
GO_VERSION: "1.21"
73+
GO_VERSION: "1.23"
7474
APECD_REF: "v0.1.24"
7575
DOCKERFILE_PATH: "./docker/Dockerfile"
7676
BUILDX_ARGS: |
@@ -87,7 +87,7 @@ jobs:
8787
MAKE_OPS_PRE: "module generate test-go-generate"
8888
IMG: "apecloud/kubeblocks-tools"
8989
VERSION: "${{ needs.release-version.outputs.release-version }}"
90-
GO_VERSION: "1.21"
90+
GO_VERSION: "1.23"
9191
APECD_REF: "v0.1.24"
9292
DOCKERFILE_PATH: "./docker/Dockerfile-tools"
9393
secrets: inherit
@@ -111,7 +111,7 @@ jobs:
111111
MAKE_OPS_PRE: "helm-package VERSION=${{ needs.release-version.outputs.release-version-bump }}"
112112
IMG: "apecloud/kubeblocks-charts"
113113
VERSION: "${{ needs.release-version.outputs.release-version }}"
114-
GO_VERSION: "1.21"
114+
GO_VERSION: "1.23"
115115
APECD_REF: "v0.1.24"
116116
DOCKERFILE_PATH: "./docker/Dockerfile-charts"
117117
secrets: inherit

.github/workflows/release-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ run-name: ref_name:${{ github.ref_name }} release_version:${{ inputs.release_ver
1212

1313
env:
1414
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
15-
GO_VERSION: "1.21"
15+
GO_VERSION: "1.23"
1616

1717
jobs:
1818
release-message:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ mod-vendor: module ## Run go mod vendor against go modules.
203203

204204
.PHONY: module
205205
module: ## Run go mod tidy->verify against go modules.
206-
$(GO) mod tidy -compat=1.21
206+
$(GO) mod tidy -compat=1.23
207207
$(GO) mod verify
208208

209209
TEST_PACKAGES ?= ./pkg/... ./apis/... ./controllers/... ./cmd/...
@@ -339,7 +339,7 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi
339339

340340
.PHONY: reviewable
341341
reviewable: generate build-checks test check-license-header ## Run code checks to proceed with PR reviews.
342-
$(GO) mod tidy -compat=1.21
342+
$(GO) mod tidy -compat=1.23
343343

344344
.PHONY: check-diff
345345
check-diff: reviewable ## Run git code diff checker.

0 commit comments

Comments
 (0)