Skip to content

Commit fbea019

Browse files
authored
chore: bump golang 1.23->1.24 (#14385) (cherry-pick release-3.6) (#14418)
1 parent 37b4096 commit fbea019

File tree

17 files changed

+27
-27
lines changed

17 files changed

+27
-27
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"appPort": 8080,
44
"features": {
55
"ghcr.io/devcontainers/features/go:1": {
6-
"version": "1.23"
6+
"version": "1.24"
77
},
88
"ghcr.io/devcontainers/features/node:1": {
99
"version": "20"

.github/workflows/ci-build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
130130
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
131131
with:
132-
go-version: "1.23"
132+
go-version: "1.24"
133133
cache: true
134134
- run: make test STATIC_FILES=false GOTEST='go test -p 20 -covermode=atomic -coverprofile=coverage.out'
135135
- name: Upload coverage report
@@ -151,7 +151,7 @@ jobs:
151151
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
152152
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
153153
with:
154-
go-version: "1.23"
154+
go-version: "1.24"
155155
cache: true
156156
# windows run does not use makefile target because it does a lot more than just testing and is not cross-platform compatible
157157
- run: 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)
@@ -267,7 +267,7 @@ jobs:
267267
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
268268
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
269269
with:
270-
go-version: "1.23"
270+
go-version: "1.24"
271271
cache: true
272272
- name: Install Java for the SDK
273273
if: ${{matrix.test == 'test-java-sdk'}}
@@ -406,7 +406,7 @@ jobs:
406406
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
407407
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
408408
with:
409-
go-version: "1.23"
409+
go-version: "1.24"
410410
cache: true
411411
- name: Install protoc
412412
run: |
@@ -443,7 +443,7 @@ jobs:
443443
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
444444
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
445445
with:
446-
go-version: "1.23"
446+
go-version: "1.24"
447447
cache: true
448448
- run: make lint STATIC_FILES=false
449449
# 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
@@ -37,7 +37,7 @@ jobs:
3737
python-version: 3.9
3838
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3939
with:
40-
go-version: '1.23'
40+
go-version: "1.24"
4141
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
4242
with:
4343
node-version: "19"

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ jobs:
291291
node-version: "20" # change in all GH Workflows
292292
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
293293
with:
294-
go-version: "1.23"
294+
go-version: "1.24"
295295
- name: Restore node packages cache
296296
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
297297
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.23-alpine3.19 as builder
6+
FROM golang:1.24-alpine3.21 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.23
14+
ENV GOLANG_VERSION=1.24
1515
SHELL ["powershell", "-Command"]
1616

1717
# install chocolatey package manager

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ swagger: \
298298
$(GOPATH)/bin/mockery: Makefile
299299
# update this in Nix when upgrading it here
300300
ifneq ($(USE_NIX), true)
301-
go install github.com/vektra/mockery/v2@v2.42.2
301+
go install github.com/vektra/mockery/v2@v2.53.3
302302
endif
303303
$(GOPATH)/bin/controller-gen: Makefile
304304
# update this in Nix when upgrading it here

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/argoproj/argo-workflows/v3
22

3-
go 1.23.1
3+
go 1.24.2
44

55
require (
66
cloud.google.com/go/storage v1.36.0

hack/docs/fields.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ func getObjectType(field map[string]interface{}, addToQueue func(string)) string
136136

137137
name := getNameFromFullName(refString)
138138
if refString == "io.argoproj.workflow.v1alpha1.ParallelSteps" {
139-
return fmt.Sprintf("`Array<Array<`%s`>>`", link(fmt.Sprintf("`%s`", "WorkflowStep"), fmt.Sprintf("#"+strings.ToLower("WorkflowStep"))))
139+
return fmt.Sprintf("`Array<Array<`%s`>>`", link("`WorkflowStep`", "#"+strings.ToLower("WorkflowStep")))
140140
}
141-
return fmt.Sprintf("`Array<`%s`>`", link(fmt.Sprintf("`%s`", name), fmt.Sprintf("#"+strings.ToLower(name))))
141+
return fmt.Sprintf("`Array<`%s`>`", link(fmt.Sprintf("`%s`", name), "#"+strings.ToLower(name)))
142142
}
143143
fullName := field["items"].(map[string]interface{})["type"].(string)
144144
return fmt.Sprintf("`Array< %s >`", getNameFromFullName(fullName))

persist/sqldb/mocks/WorkflowArchive.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apiclient/workflow/mocks/WorkflowServiceClient.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apiclient/workflowtemplate/mocks/WorkflowTemplateServiceClient.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/auth/mocks/Gatekeeper.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/auth/sso/mocks/Interface.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflow/artifactrepositories/mocks/Interface.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflow/executor/mocks/ContainerRuntimeExecutor.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflow/sync/mocks/Throttler.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)