Skip to content

Commit d776408

Browse files
authored
Merge pull request #3443 from xrstf/bump-go
update to Go 1.23.10
2 parents 5f9bfcb + ccccbf5 commit d776408

File tree

5 files changed

+19
-13
lines changed

5 files changed

+19
-13
lines changed

.github/workflows/docs-gen-and-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # tag=v5.5.0
3636
with:
37-
go-version: v1.23.7
37+
go-version: v1.23.10
3838
cache: true
3939

4040
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #tag=v5.6.0

.github/workflows/goreleaser.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ jobs:
2020
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
2121
with:
2222
fetch-depth: 0
23+
2324
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # tag=v5.5.0
2425
with:
25-
go-version: v1.23.7
26+
go-version: v1.23.10
27+
2628
- name: Delete non-semver tags
2729
run: 'git tag -d $(git tag -l | grep -v "^v")'
30+
2831
- name: Set LDFLAGS
2932
run: echo LDFLAGS="$(make ldflags)" >> $GITHUB_ENV
33+
3034
- name: Run GoReleaser on tag
3135
if: github.event_name != 'pull_request'
3236
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # tag=v6.3.0
@@ -37,6 +41,7 @@ jobs:
3741
env:
3842
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3943
KREW_GITHUB_TOKEN: ${{ secrets.KREW_GITHUB_TOKEN }}
44+
4045
- name: Run GoReleaser on pull request
4146
if: github.event_name == 'pull_request'
4247
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # tag=v6.3.0
@@ -47,6 +52,7 @@ jobs:
4752
env:
4853
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4954
KREW_GITHUB_TOKEN: ${{ secrets.KREW_GITHUB_TOKEN }}
55+
5056
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # tag=v4.6.2
5157
if: ${{ always() }}
5258
with:

.prow.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ presubmits:
77
preset-goproxy: "true"
88
spec:
99
containers:
10-
- image: ghcr.io/kcp-dev/infra/build:1.23.7-2
10+
- image: ghcr.io/kcp-dev/infra/build:1.23.10-1
1111
command:
1212
- make
1313
- verify-boilerplate
@@ -27,7 +27,7 @@ presubmits:
2727
preset-goproxy: "true"
2828
spec:
2929
containers:
30-
- image: ghcr.io/kcp-dev/infra/build:1.23.7-2
30+
- image: ghcr.io/kcp-dev/infra/build:1.23.10-1
3131
command:
3232
- make
3333
- verify-codegen
@@ -44,7 +44,7 @@ presubmits:
4444
preset-goproxy: "true"
4545
spec:
4646
containers:
47-
- image: ghcr.io/kcp-dev/infra/build:1.23.7-2
47+
- image: ghcr.io/kcp-dev/infra/build:1.23.10-1
4848
command:
4949
- make
5050
- lint
@@ -83,7 +83,7 @@ presubmits:
8383
preset-goproxy: "true"
8484
spec:
8585
containers:
86-
- image: ghcr.io/kcp-dev/infra/build:1.23.7-2
86+
- image: ghcr.io/kcp-dev/infra/build:1.23.10-1
8787
command:
8888
- make
8989
- test
@@ -104,7 +104,7 @@ presubmits:
104104
preset-goproxy: "true"
105105
spec:
106106
containers:
107-
- image: ghcr.io/kcp-dev/infra/build:1.23.7-2
107+
- image: ghcr.io/kcp-dev/infra/build:1.23.10-1
108108
command:
109109
- ./hack/run-with-prow.sh
110110
- ./hack/run-with-prometheus.sh
@@ -131,7 +131,7 @@ presubmits:
131131
preset-goproxy: "true"
132132
spec:
133133
containers:
134-
- image: ghcr.io/kcp-dev/infra/build:1.23.7-2
134+
- image: ghcr.io/kcp-dev/infra/build:1.23.10-1
135135
command:
136136
- ./hack/run-with-prow.sh
137137
- ./hack/run-with-prometheus.sh
@@ -160,7 +160,7 @@ presubmits:
160160
preset-goproxy: "true"
161161
spec:
162162
containers:
163-
- image: ghcr.io/kcp-dev/infra/build:1.23.7-2
163+
- image: ghcr.io/kcp-dev/infra/build:1.23.10-1
164164
command:
165165
- ./hack/run-with-prow.sh
166166
- ./hack/run-with-prometheus.sh
@@ -191,7 +191,7 @@ presubmits:
191191
preset-goproxy: "true"
192192
spec:
193193
containers:
194-
- image: ghcr.io/kcp-dev/infra/build:1.23.7-2
194+
- image: ghcr.io/kcp-dev/infra/build:1.23.10-1
195195
command:
196196
- ./hack/run-with-prow.sh
197197
- ./hack/run-with-prometheus.sh
@@ -220,7 +220,7 @@ presubmits:
220220
preset-goproxy: "true"
221221
spec:
222222
containers:
223-
- image: ghcr.io/kcp-dev/infra/build:1.23.7-2
223+
- image: ghcr.io/kcp-dev/infra/build:1.23.10-1
224224
command:
225225
- ./hack/run-with-prow.sh
226226
- ./hack/run-with-prometheus.sh

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616

1717
# Build the binary
18-
FROM --platform=${BUILDPLATFORM} docker.io/golang:1.23.7 AS builder
18+
FROM --platform=${BUILDPLATFORM} docker.io/golang:1.23.10 AS builder
1919
WORKDIR /workspace
2020

2121
# Install dependencies.

docs/content/contributing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ contribution. See the [DCO](https://github.com/kcp-dev/kcp/tree/main/DCO) file f
1717
### Prerequisites
1818

1919
1. Clone this repository.
20-
2. [Install Go](https://golang.org/doc/install) (currently 1.23.7).
20+
2. [Install Go](https://golang.org/doc/install) (currently 1.23.10).
2121
3. Install [kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl).
2222

2323
Please note that the go language version numbers in these files must exactly agree: go/go.mod file, kcp/.ci-operator.yaml, kcp/Dockerfile, and in all the kcp/.github/workflows yaml files that specify go-version. In kcp/.ci-operator.yaml the go version is indicated by the "tag" attribute. In kcp/Dockerfile it is indicated by the "golang" attribute. In go.mod it is indicated by the "go" directive." In the .github/workflows yaml files it is indicated by "go-version"

0 commit comments

Comments
 (0)