@@ -25,7 +25,7 @@ permissions:
2525
2626jobs :
2727 changes :
28- runs-on : ubuntu-latest
28+ runs-on : ubuntu-24.04
2929 outputs :
3030 backend : ${{ steps.filter.outputs.backend_any_changed }}
3131 frontend : ${{ steps.filter.outputs.frontend_any_changed }}
5050 check-go :
5151 name : Ensure Go modules synchronicity
5252 if : ${{ needs.changes.outputs.backend == 'true' }}
53- runs-on : ubuntu-22 .04
53+ runs-on : ubuntu-24 .04
5454 needs :
5555 - changes
5656 steps :
7070 build-go :
7171 name : Build & cache Go code
7272 if : ${{ needs.changes.outputs.backend == 'true' }}
73- runs-on : ubuntu-22 .04
73+ runs-on : ubuntu-24 .04
7474 needs :
7575 - changes
7676 steps :
9797 pull-requests : read # for golangci/golangci-lint-action to fetch pull requests
9898 name : Lint Go code
9999 if : ${{ needs.changes.outputs.backend == 'true' }}
100- runs-on : ubuntu-22 .04
100+ runs-on : ubuntu-24 .04
101101 needs :
102102 - changes
103103 steps :
@@ -117,7 +117,7 @@ jobs:
117117 test-go :
118118 name : Run unit tests for Go packages
119119 if : ${{ needs.changes.outputs.backend == 'true' }}
120- runs-on : ubuntu-22 .04
120+ runs-on : ubuntu-24 .04
121121 needs :
122122 - build-go
123123 - changes
@@ -181,7 +181,7 @@ jobs:
181181 test-go-race :
182182 name : Run unit tests with -race for Go packages
183183 if : ${{ needs.changes.outputs.backend == 'true' }}
184- runs-on : ubuntu-22 .04
184+ runs-on : ubuntu-24 .04
185185 needs :
186186 - build-go
187187 - changes
@@ -245,7 +245,7 @@ jobs:
245245 codegen :
246246 name : Check changes to generated code
247247 if : ${{ needs.changes.outputs.backend == 'true' || needs.changes.outputs.docs == 'true'}}
248- runs-on : ubuntu-22 .04
248+ runs-on : ubuntu-24 .04
249249 needs :
250250 - changes
251251 steps :
@@ -302,7 +302,7 @@ jobs:
302302 name : Build, test & lint UI code
303303 # We run UI logic for backend changes so that we have a complete set of coverage documents to send to codecov.
304304 if : ${{ needs.changes.outputs.backend == 'true' || needs.changes.outputs.frontend == 'true' }}
305- runs-on : ubuntu-22 .04
305+ runs-on : ubuntu-24 .04
306306 needs :
307307 - changes
308308 steps :
@@ -338,7 +338,7 @@ jobs:
338338 working-directory : ui/
339339
340340 shellcheck :
341- runs-on : ubuntu-latest
341+ runs-on : ubuntu-24.04
342342 steps :
343343 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
344344 - run : |
@@ -349,7 +349,7 @@ jobs:
349349 analyze :
350350 name : Process & analyze test artifacts
351351 if : ${{ needs.changes.outputs.backend == 'true' || needs.changes.outputs.frontend == 'true' }}
352- runs-on : ubuntu-22 .04
352+ runs-on : ubuntu-24 .04
353353 needs :
354354 - test-go
355355 - build-ui
@@ -420,7 +420,7 @@ jobs:
420420 test-e2e :
421421 name : Run end-to-end tests
422422 if : ${{ needs.changes.outputs.backend == 'true' }}
423- runs-on : ${{ github.repository == 'argoproj/argo-cd' && 'oracle-vm-16cpu-64gb-x86-64' || 'ubuntu-22 .04' }}
423+ runs-on : ${{ github.repository == 'argoproj/argo-cd' && 'oracle-vm-16cpu-64gb-x86-64' || 'ubuntu-24 .04' }}
424424 strategy :
425425 fail-fast : false
426426 matrix :
@@ -565,7 +565,7 @@ jobs:
565565 needs :
566566 - test-e2e
567567 - changes
568- runs-on : ubuntu-22 .04
568+ runs-on : ubuntu-24 .04
569569 steps :
570570 - run : |
571571 result="${{ needs.test-e2e.result }}"
0 commit comments