4141 codegen : ${{ steps.changed-files.outputs.codegen_any_modified == 'true' }}
4242 lint : ${{ steps.changed-files.outputs.lint_any_modified == 'true' }}
4343 ui : ${{ steps.changed-files.outputs.ui_any_modified == 'true' }}
44- runs-on : ubuntu-24.04
44+ runs-on : ubuntu-latest
4545 steps :
4646 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
4747 with :
@@ -126,13 +126,13 @@ jobs:
126126 name : Unit Tests
127127 needs : [ changed-files ]
128128 if : ${{ needs.changed-files.outputs.tests == 'true' }}
129- runs-on : ubuntu-24.04
129+ runs-on : ubuntu-latest
130130 timeout-minutes : 10
131131 steps :
132132 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
133133 - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
134134 with :
135- go-version : " 1.24 "
135+ go-version-file : go.mod
136136 cache : true
137137 - run : make test STATIC_FILES=false GOTEST='go test -p 20 -covermode=atomic -coverprofile=coverage.out'
138138 - name : Upload coverage report
@@ -154,7 +154,7 @@ jobs:
154154 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
155155 - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
156156 with :
157- go-version : " 1.24 "
157+ go-version-file : go.mod
158158 cache : true
159159 # windows run does not use makefile target because it does a lot more than just testing and is not cross-platform compatible
160160 - 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)
@@ -172,7 +172,7 @@ jobs:
172172 argo-images :
173173 name : argo-images
174174 # needs: [ lint ]
175- runs-on : ubuntu-24.04
175+ runs-on : ubuntu-latest
176176 timeout-minutes : 10
177177 strategy :
178178 fail-fast : false
@@ -193,7 +193,7 @@ jobs:
193193 cache-from : type=gha
194194 cache-to : type=gha,mode=max
195195 - name : Upload
196- uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
196+ uses : actions/upload-artifact@v4
197197 with :
198198 name : ${{matrix.image}}_image.tar
199199 path : /tmp/${{matrix.image}}_image.tar
@@ -203,7 +203,7 @@ jobs:
203203 name : E2E Tests
204204 needs : [ changed-files, argo-images ]
205205 if : ${{ needs.changed-files.outputs.e2e-tests == 'true' }}
206- runs-on : ubuntu-24.04
206+ runs-on : ubuntu-latest
207207 # These tests usually finish in ~25m, but occasionally they take much longer due to resource
208208 # contention on the runner, which we have no control over.
209209 timeout-minutes : 60
@@ -270,7 +270,7 @@ jobs:
270270 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
271271 - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
272272 with :
273- go-version : " 1.24 "
273+ go-version-file : go.mod
274274 cache : true
275275 - name : Install Java for the SDK
276276 if : ${{matrix.test == 'test-java-sdk'}}
@@ -386,7 +386,7 @@ jobs:
386386 name : E2E Tests - Composite result
387387 needs : [ e2e-tests ]
388388 if : ${{ always() }}
389- runs-on : ubuntu-24.04
389+ runs-on : ubuntu-latest
390390 steps :
391391 - run : |
392392 result="${{ needs.e2e-tests.result }}"
@@ -401,15 +401,15 @@ jobs:
401401 name : Codegen
402402 needs : [ changed-files ]
403403 if : ${{ needs.changed-files.outputs.codegen == 'true' }}
404- runs-on : ubuntu-24.04
404+ runs-on : ubuntu-latest
405405 timeout-minutes : 20
406406 env :
407407 GOPATH : /home/runner/go
408408 steps :
409409 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
410410 - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
411411 with :
412- go-version : " 1.24 "
412+ go-version-file : go.mod
413413 cache : true
414414 - name : Install protoc
415415 run : |
@@ -438,15 +438,15 @@ jobs:
438438 name : Lint
439439 needs : [ changed-files ]
440440 if : ${{ needs.changed-files.outputs.lint == 'true' }}
441- runs-on : ubuntu-24.04
441+ runs-on : ubuntu-latest
442442 timeout-minutes : 15 # must be strictly greater than the timeout in .golangci.yml
443443 env :
444444 GOPATH : /home/runner/go
445445 steps :
446446 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
447447 - uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
448448 with :
449- go-version : " 1.24 "
449+ go-version-file : go.mod
450450 cache : true
451451 - run : make lint STATIC_FILES=false
452452 # if lint makes changes that are not in the PR, fail the build
@@ -460,7 +460,7 @@ jobs:
460460 name : UI
461461 needs : [ changed-files ]
462462 if : ${{ needs.changed-files.outputs.ui == 'true' }}
463- runs-on : ubuntu-24.04
463+ runs-on : ubuntu-latest
464464 timeout-minutes : 6
465465 env :
466466 NODE_OPTIONS : --max-old-space-size=4096
0 commit comments