Skip to content

Commit d4dbbdb

Browse files
authored
Merge pull request #3634 from embik/go-1.24.8
Update to Go 1.24.8
2 parents d7c8e22 + 9745729 commit d4dbbdb

File tree

5 files changed

+94
-94
lines changed

5 files changed

+94
-94
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434

3535
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # tag=v6.0.0
3636
with:
37-
go-version: v1.24.5
37+
go-version: v1.24.8
3838
cache: true
3939

4040
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c #tag=v6.0.0
4141
with:
42-
python-version: '3.10'
43-
cache: 'pip'
42+
python-version: "3.10"
43+
cache: "pip"
4444

4545
# mike does not support giving CLI flags for mkdocs, but we also do not
4646
# want to permanently enable strict mode, so here we enable it just for this

.github/workflows/goreleaser.yml

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: goreleaser
33
on:
44
pull_request:
55
paths:
6-
- .github/workflows/goreleaser.yml
7-
- .goreleaser.yaml
6+
- .github/workflows/goreleaser.yml
7+
- .goreleaser.yaml
88
push:
99
tags:
10-
- 'v*'
10+
- "v*"
1111

1212
permissions:
1313
contents: write
@@ -16,68 +16,68 @@ jobs:
1616
goreleaser:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- name: Free disk space
20-
uses: thiagokokada/free-disk-space@9a03d73a373bab1e204b8815f5c7752392482762
21-
with:
22-
# All of these do save some disk space, but are also somewhat slow to delete.
23-
# So we keep them to just speed up the workflow overall.
24-
android: false
25-
aws-cli: false
26-
debug: false
27-
docker-images: false
28-
google-cloud-sdk: false
29-
heroku: false
30-
llvm: false
31-
opt: false
32-
powershell: false
33-
python: false
34-
ruby: false
35-
rust: false
36-
tool-cache: false
37-
usrlocal: false
38-
usrmisc: false
39-
varcache: false
19+
- name: Free disk space
20+
uses: thiagokokada/free-disk-space@9a03d73a373bab1e204b8815f5c7752392482762
21+
with:
22+
# All of these do save some disk space, but are also somewhat slow to delete.
23+
# So we keep them to just speed up the workflow overall.
24+
android: false
25+
aws-cli: false
26+
debug: false
27+
docker-images: false
28+
google-cloud-sdk: false
29+
heroku: false
30+
llvm: false
31+
opt: false
32+
powershell: false
33+
python: false
34+
ruby: false
35+
rust: false
36+
tool-cache: false
37+
usrlocal: false
38+
usrmisc: false
39+
varcache: false
4040

41-
- name: Checkout
42-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # tag=v5.0.0
43-
with:
44-
fetch-depth: 0
41+
- name: Checkout
42+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # tag=v5.0.0
43+
with:
44+
fetch-depth: 0
4545

46-
- name: Setup Go
47-
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # tag=v6.0.0
48-
with:
49-
go-version: v1.24.5
46+
- name: Setup Go
47+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # tag=v6.0.0
48+
with:
49+
go-version: v1.24.8
5050

51-
- name: Delete non-semver tags
52-
run: 'git tag -d $(git tag -l | grep -v "^v")'
51+
- name: Delete non-semver tags
52+
run: 'git tag -d $(git tag -l | grep -v "^v")'
5353

54-
- name: Set LDFLAGS
55-
run: echo LDFLAGS="$(make ldflags)" >> $GITHUB_ENV
54+
- name: Set LDFLAGS
55+
run: echo LDFLAGS="$(make ldflags)" >> $GITHUB_ENV
5656

57-
- name: Run GoReleaser on tag
58-
if: github.event_name != 'pull_request'
59-
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # tag=v6.4.0
60-
with:
61-
distribution: goreleaser
62-
version: '~> v2'
63-
args: release --timeout 60m
64-
env:
65-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
KREW_GITHUB_TOKEN: ${{ secrets.KREW_GITHUB_TOKEN }}
57+
- name: Run GoReleaser on tag
58+
if: github.event_name != 'pull_request'
59+
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # tag=v6.4.0
60+
with:
61+
distribution: goreleaser
62+
version: "~> v2"
63+
args: release --timeout 60m
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
KREW_GITHUB_TOKEN: ${{ secrets.KREW_GITHUB_TOKEN }}
6767

68-
- name: Run GoReleaser on pull request
69-
if: github.event_name == 'pull_request'
70-
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # tag=v6.4.0
71-
with:
72-
distribution: goreleaser
73-
version: '~> v2'
74-
args: release --timeout 60m --snapshot
75-
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77-
KREW_GITHUB_TOKEN: ${{ secrets.KREW_GITHUB_TOKEN }}
68+
- name: Run GoReleaser on pull request
69+
if: github.event_name == 'pull_request'
70+
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # tag=v6.4.0
71+
with:
72+
distribution: goreleaser
73+
version: "~> v2"
74+
args: release --timeout 60m --snapshot
75+
env:
76+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
KREW_GITHUB_TOKEN: ${{ secrets.KREW_GITHUB_TOKEN }}
7878

79-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # tag=v4.6.2
80-
if: ${{ always() }}
81-
with:
82-
name: binaries
83-
path: dist/*.tar.gz
79+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # tag=v4.6.2
80+
if: ${{ always() }}
81+
with:
82+
name: binaries
83+
path: dist/*.tar.gz

.prow.yaml

Lines changed: 28 additions & 28 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.24.5-1
10+
- image: ghcr.io/kcp-dev/infra/build:1.24.8-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.24.5-1
30+
- image: ghcr.io/kcp-dev/infra/build:1.24.8-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.24.5-1
47+
- image: ghcr.io/kcp-dev/infra/build:1.24.8-1
4848
command:
4949
- make
5050
- lint
@@ -66,7 +66,7 @@ presubmits:
6666
- hack/build-image.sh
6767
env:
6868
- name: DRY_RUN
69-
value: '1'
69+
value: "1"
7070
# docker-in-docker needs privileged mode
7171
securityContext:
7272
privileged: true
@@ -83,13 +83,13 @@ presubmits:
8383
preset-goproxy: "true"
8484
spec:
8585
containers:
86-
- image: ghcr.io/kcp-dev/infra/build:1.24.5-1
86+
- image: ghcr.io/kcp-dev/infra/build:1.24.8-1
8787
command:
8888
- make
8989
- test
9090
env:
9191
- name: USE_GOTESTSUM
92-
value: '1'
92+
value: "1"
9393
resources:
9494
requests:
9595
memory: 4Gi
@@ -104,19 +104,19 @@ presubmits:
104104
preset-goproxy: "true"
105105
spec:
106106
containers:
107-
- image: ghcr.io/kcp-dev/infra/build:1.24.5-1
107+
- image: ghcr.io/kcp-dev/infra/build:1.24.8-1
108108
command:
109109
- ./hack/run-with-prow.sh
110110
- ./hack/run-with-prometheus.sh
111111
- make
112112
- test-integration
113113
env:
114114
- name: USE_GOTESTSUM
115-
value: '1'
115+
value: "1"
116116
- name: KUBE_CACHE_MUTATION_DETECTOR
117-
value: '1'
117+
value: "1"
118118
- name: E2E_PARALLELISM
119-
value: '3'
119+
value: "3"
120120
resources:
121121
requests:
122122
memory: 6Gi
@@ -131,7 +131,7 @@ presubmits:
131131
preset-goproxy: "true"
132132
spec:
133133
containers:
134-
- image: ghcr.io/kcp-dev/infra/build:1.24.5-1
134+
- image: ghcr.io/kcp-dev/infra/build:1.24.8-1
135135
command:
136136
- ./hack/run-with-prow.sh
137137
- ./hack/run-with-prometheus.sh
@@ -141,11 +141,11 @@ presubmits:
141141
- name: SUITES
142142
value: control-plane
143143
- name: USE_GOTESTSUM
144-
value: '1'
144+
value: "1"
145145
- name: KUBE_CACHE_MUTATION_DETECTOR
146-
value: '1'
146+
value: "1"
147147
- name: E2E_PARALLELISM
148-
value: '3'
148+
value: "3"
149149
resources:
150150
requests:
151151
memory: 6Gi
@@ -160,7 +160,7 @@ presubmits:
160160
preset-goproxy: "true"
161161
spec:
162162
containers:
163-
- image: ghcr.io/kcp-dev/infra/build:1.24.5-1
163+
- image: ghcr.io/kcp-dev/infra/build:1.24.8-1
164164
command:
165165
- ./hack/run-with-prow.sh
166166
- ./hack/run-with-prometheus.sh
@@ -170,15 +170,15 @@ presubmits:
170170
- name: SUITES
171171
value: control-plane
172172
- name: USE_GOTESTSUM
173-
value: '1'
173+
value: "1"
174174
- name: KUBE_CACHE_MUTATION_DETECTOR
175-
value: '1'
175+
value: "1"
176176
- name: COUNT
177-
value: '2'
177+
value: "2"
178178
- name: E2E_PARALLELISM
179-
value: '3'
179+
value: "3"
180180
- name: TEST_ARGS
181-
value: '-timeout 20m'
181+
value: "-timeout 20m"
182182
resources:
183183
requests:
184184
memory: 6Gi
@@ -193,7 +193,7 @@ presubmits:
193193
preset-goproxy: "true"
194194
spec:
195195
containers:
196-
- image: ghcr.io/kcp-dev/infra/build:1.24.5-1
196+
- image: ghcr.io/kcp-dev/infra/build:1.24.8-1
197197
command:
198198
- ./hack/run-with-prow.sh
199199
- ./hack/run-with-prometheus.sh
@@ -203,11 +203,11 @@ presubmits:
203203
- name: SUITES
204204
value: control-plane
205205
- name: USE_GOTESTSUM
206-
value: '1'
206+
value: "1"
207207
- name: KUBE_CACHE_MUTATION_DETECTOR
208-
value: '1'
208+
value: "1"
209209
- name: E2E_PARALLELISM
210-
value: '3'
210+
value: "3"
211211
resources:
212212
requests:
213213
memory: 6Gi
@@ -222,7 +222,7 @@ presubmits:
222222
preset-goproxy: "true"
223223
spec:
224224
containers:
225-
- image: ghcr.io/kcp-dev/infra/build:1.24.5-1
225+
- image: ghcr.io/kcp-dev/infra/build:1.24.8-1
226226
command:
227227
- ./hack/run-with-prow.sh
228228
- ./hack/run-with-prometheus.sh
@@ -232,11 +232,11 @@ presubmits:
232232
- name: SUITES
233233
value: control-plane
234234
- name: USE_GOTESTSUM
235-
value: '1'
235+
value: "1"
236236
- name: KUBE_CACHE_MUTATION_DETECTOR
237-
value: '1'
237+
value: "1"
238238
- name: E2E_PARALLELISM
239-
value: '3'
239+
value: "3"
240240
resources:
241241
requests:
242242
memory: 6Gi

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.24.5 AS builder
18+
FROM --platform=${BUILDPLATFORM} docker.io/golang:1.24.8 AS builder
1919
WORKDIR /workspace
2020

2121
# Install dependencies.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module github.com/kcp-dev/kcp
66
// The script hack/verify-go-versions.sh checks that all version
77
// references across the codebase are consistent with the versions
88
// maintained here.
9-
// go-build-version 1.24.5
9+
// go-build-version 1.24.8
1010
go 1.24.0
1111

1212
require (

0 commit comments

Comments
 (0)