Skip to content

Commit a67673e

Browse files
authored
chore(deps): bump golang to 1.25 (#15235)
Signed-off-by: William Van Hevelingen <william.vanhevelingen@acquia.com>
1 parent 159a5c5 commit a67673e

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

.devcontainer/builder/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
"features": {
1616
"ghcr.io/devcontainers/features/go:1": {
17-
"version": "1.24.10"
17+
"version": "1.25.5"
1818
},
1919
"ghcr.io/devcontainers/features/node:1": {
2020
"version": "20"

.github/workflows/ci-build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
121121
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
122122
with:
123-
go-version: "1.24"
123+
go-version: "1.25"
124124
cache: true
125125
- run: make test STATIC_FILES=false GOTEST='go test -p 20 -covermode=atomic -coverprofile=coverage.out'
126126
- name: Upload coverage report
@@ -142,7 +142,7 @@ jobs:
142142
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
143143
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
144144
with:
145-
go-version: "1.24"
145+
go-version: "1.25"
146146
cache: true
147147
# windows run does not use makefile target because it does a lot more than just testing and is not cross-platform compatible
148148
- run: if (!(Test-Path "ui/dist/app/index.html")) { New-Item -ItemType Directory -Force -Path "ui/dist/app" | Out-Null; New-Item -ItemType File -Path "ui/dist/app/placeholder" | Out-Null }; go test -p 20 -covermode=atomic -coverprofile='coverage.out' $(go list ./... | select-string -Pattern 'github.com/argoproj/argo-workflows/v3/workflow/controller' , 'github.com/argoproj/argo-workflows/v3/server' -NotMatch)
@@ -173,7 +173,7 @@ jobs:
173173
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
174174
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
175175
with:
176-
go-version: "1.24"
176+
go-version: "1.25"
177177
cache: true
178178
- name: Build
179179
run: make ${{matrix.target}}
@@ -311,7 +311,7 @@ jobs:
311311
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
312312
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
313313
with:
314-
go-version: "1.24"
314+
go-version: "1.25"
315315
cache: true
316316
- name: Install Java for the SDK
317317
if: ${{matrix.test == 'test-java-sdk'}}
@@ -460,7 +460,7 @@ jobs:
460460
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
461461
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
462462
with:
463-
go-version: "1.24"
463+
go-version: "1.25"
464464
cache: true
465465
- name: Install protoc
466466
run: |
@@ -497,7 +497,7 @@ jobs:
497497
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
498498
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
499499
with:
500-
go-version: "1.24"
500+
go-version: "1.25"
501501
cache: true
502502
- run: make lint STATIC_FILES=false
503503
# if lint makes changes that are not in the PR, fail the build

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
python-version: 3.9
2727
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2828
with:
29-
go-version: "1.24"
29+
go-version: "1.25"
3030
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
3131
with:
3232
node-version: "19"

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3434
with:
35-
go-version: "1.24"
35+
go-version: "1.25"
3636
cache: true
3737
- name: Checkout
3838
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ jobs:
350350
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
351351
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
352352
with:
353-
go-version: "1.24"
353+
go-version: "1.25"
354354
- name: Download UI artifact
355355
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
356356
with:
@@ -393,7 +393,7 @@ jobs:
393393
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
394394
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
395395
with:
396-
go-version: "1.24"
396+
go-version: "1.25"
397397
- name: Install cosign
398398
uses: sigstore/cosign-installer@e1523de7571e31dbe865fd2e80c5c7c23ae71eb4 # v3.4.0
399399
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG GIT_COMMIT=unknown
33
ARG GIT_TAG=unknown
44
ARG GIT_TREE_STATE=unknown
55

6-
FROM golang:1.24.10-alpine3.22 as builder
6+
FROM golang:1.25.5-alpine3.23 as builder
77

88
# libc-dev to build openapi-gen
99
RUN apk update && apk add --no-cache \

Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARG GIT_TREE_STATE=unknown
1111

1212
# had issues with official golange image for windows so I'm using plain servercore
1313
FROM mcr.microsoft.com/windows/servercore:${IMAGE_OS_VERSION} as builder
14-
ENV GOLANG_VERSION=1.24
14+
ENV GOLANG_VERSION=1.25
1515
SHELL ["powershell", "-Command"]
1616

1717
# install chocolatey package manager

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ codegen: types swagger manifests $(TOOL_MOCKERY) $(GENERATED_DOCS) ## Generate c
355355
go generate ./...
356356
$(TOOL_MOCKERY) --config .mockery.yaml
357357
# The generated markdown contains links to nowhere for interfaces, so remove them
358-
sed -i.bak 's/\[interface{}\](#interface)/`interface{}`/g' docs/executor_swagger.md && rm -f docs/executor_swagger.md.bak
358+
sed -i.bak 's/\[any\](#any)/`any`/g' docs/executor_swagger.md && rm -f docs/executor_swagger.md.bak
359359
make --directory sdks/java USE_NIX=$(USE_NIX) generate
360360

361361
.PHONY: check-pwd
@@ -436,7 +436,7 @@ endif
436436
$(TOOL_SWAGGER): Makefile
437437
# update this in Nix when upgrading it here
438438
ifneq ($(USE_NIX), true)
439-
go install github.com/go-swagger/go-swagger/cmd/swagger@v0.31.0
439+
go install github.com/go-swagger/go-swagger/cmd/swagger@v0.33.1
440440
endif
441441
$(TOOL_GOIMPORTS): Makefile
442442
# update this in Nix when upgrading it here

docs/executor_swagger.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ownership management and SELinux relabeling.
113113

114114

115115

116-
`interface{}`
116+
`any`
117117

118118
### <span id="any-string"></span> AnyString
119119

@@ -1138,7 +1138,7 @@ can be used as map keys in json.
11381138

11391139

11401140

1141-
`interface{}`
1141+
`any`
11421142

11431143
### <span id="empty-dir-volume-source"></span> EmptyDirVolumeSource
11441144

@@ -1331,7 +1331,7 @@ The exact format is defined in sigs.k8s.io/structured-merge-diff
13311331

13321332

13331333

1334-
`interface{}`
1334+
`any`
13351335

13361336
### <span id="flex-volume-source"></span> FlexVolumeSource
13371337

@@ -1887,7 +1887,7 @@ ISCSI volumes support ownership management and SELinux relabeling.
18871887

18881888

18891889

1890-
`interface{}`
1890+
`any`
18911891

18921892
### <span id="key-to-path"></span> KeyToPath
18931893

@@ -2373,7 +2373,7 @@ save/load the directory appropriately.
23732373

23742374

23752375

2376-
`interface{}`
2376+
`any`
23772377

23782378
### <span id="o-auth2-auth"></span> OAuth2Auth
23792379

@@ -2549,7 +2549,7 @@ be cluster-scoped, so there is no namespace field.
25492549

25502550

25512551

2552-
`interface{}`
2552+
`any`
25532553

25542554
### <span id="parameter"></span> Parameter
25552555

@@ -2709,7 +2709,7 @@ type of volume that is owned by someone else (the system).
27092709

27102710

27112711

2712-
`interface{}`
2712+
`any`
27132713

27142714
### <span id="plugin-artifact"></span> PluginArtifact
27152715

@@ -3084,7 +3084,7 @@ cause implementors to also use a fixed point implementation.
30843084

30853085

30863086

3087-
`interface{}`
3087+
`any`
30883088

30893089
### <span id="quobyte-volume-source"></span> QuobyteVolumeSource
30903090

@@ -3295,7 +3295,7 @@ cause implementors to also use a fixed point implementation.
32953295

32963296

32973297

3298-
`interface{}`
3298+
`any`
32993299

33003300
### <span id="retry-policy"></span> RetryPolicy
33013301

@@ -3770,7 +3770,7 @@ of the first container processes are calculated.
37703770

37713771

37723772

3773-
`interface{}`
3773+
`any`
37743774

37753775
### <span id="suspend-template"></span> SuspendTemplate
37763776

@@ -4399,4 +4399,4 @@ intent and helps make sure that UIDs and names do not get conflated.
43994399

44004400

44014401

4402-
`interface{}`
4402+
`any`

0 commit comments

Comments
 (0)