Skip to content

Commit b32fc40

Browse files
committed
GitHubCI: retire Ubuntu 20.04 in favour of 24.04
* Retire Ubuntu 20.04. * Adopt Ubuntu 24.04.
1 parent 51db374 commit b32fc40

File tree

1 file changed

+39
-37
lines changed

1 file changed

+39
-37
lines changed

.github/workflows/CI.yml

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ jobs:
214214
215215
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
216216
217-
linux22-github--dotnet-and-mono:
218-
runs-on: ubuntu-22.04
217+
linux24-github--dotnet-and-mono:
218+
runs-on: ubuntu-24.04
219219
steps:
220220
- uses: actions/checkout@v1
221221
with:
@@ -239,8 +239,8 @@ jobs:
239239
- name: integration tests
240240
run: make update-servers
241241

242-
linux22-github--dotnet-and-newmono:
243-
runs-on: ubuntu-22.04
242+
linux24-github--dotnet-and-newmono:
243+
runs-on: ubuntu-24.04
244244
steps:
245245
- uses: actions/checkout@v1
246246
with:
@@ -266,10 +266,10 @@ jobs:
266266
- name: integration tests
267267
run: make update-servers
268268

269-
linux22-vanilla--stockmono-only:
270-
runs-on: ubuntu-22.04
269+
linux24-vanilla--stockmono-only:
270+
runs-on: ubuntu-24.04
271271
container:
272-
image: "ubuntu:22.04"
272+
image: "ubuntu:24.04"
273273
steps:
274274
- uses: actions/checkout@v1
275275
# can't use the option below because of error "Input 'submodules' not supported when falling back to download using the GitHub REST API. To create a local Git repository instead, add Git 2.18 or higher to the PATH."
@@ -302,10 +302,10 @@ jobs:
302302
- name: integration tests
303303
run: make update-servers
304304

305-
linux22-vanilla--stockdotnet6-only:
306-
runs-on: ubuntu-22.04
305+
linux24-vanilla--stockdotnet6-only:
306+
runs-on: ubuntu-24.04
307307
container:
308-
image: "ubuntu:22.04"
308+
image: "ubuntu:24.04"
309309
steps:
310310
- uses: actions/checkout@v1
311311
# can't use the option below because of error "Input 'submodules' not supported when falling back to download using the GitHub REST API. To create a local Git repository instead, add Git 2.18 or higher to the PATH."
@@ -344,10 +344,10 @@ jobs:
344344
345345
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
346346
347-
linux22-vanilla--stockdotnet6-and-newmono:
348-
runs-on: ubuntu-22.04
347+
linux24-vanilla--stockdotnet6-and-newmono:
348+
runs-on: ubuntu-24.04
349349
container:
350-
image: "ubuntu:22.04"
350+
image: "ubuntu:24.04"
351351
steps:
352352
- uses: actions/checkout@v1
353353
# can't use the option below because of error "Input 'submodules' not supported when falling back to download using the GitHub REST API. To create a local Git repository instead, add Git 2.18 or higher to the PATH."
@@ -361,7 +361,8 @@ jobs:
361361
- name: install last version of mono (Microsoft APT repositories)
362362
run: sudo ./scripts/install_mono_from_microsoft_deb_packages.sh
363363

364-
# workaround for https://github.com/actions/runner/issues/2033
364+
# workaround for https://github.com/actions/runner/issues/
365+
2033
365366
- name: ownership workaround
366367
run: git config --global --add safe.directory '*'
367368

@@ -388,10 +389,10 @@ jobs:
388389
389390
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
390391
391-
linux22-vanilla--stockdotnet6-and-stockmono:
392-
runs-on: ubuntu-22.04
392+
linux24-vanilla--stockdotnet6-and-stockmono:
393+
runs-on: ubuntu-24.04
393394
container:
394-
image: "ubuntu:22.04"
395+
image: "ubuntu:24.04"
395396
steps:
396397
- uses: actions/checkout@v1
397398
# can't use the option below because of error "Input 'submodules' not supported when falling back to download using the GitHub REST API. To create a local Git repository instead, add Git 2.18 or higher to the PATH."
@@ -430,10 +431,10 @@ jobs:
430431
431432
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
432433
433-
linux22-vanilla--newmono-only:
434-
runs-on: ubuntu-22.04
434+
linux24-vanilla--newmono-only:
435+
runs-on: ubuntu-24.04
435436
container:
436-
image: "ubuntu:22.04"
437+
image: "ubuntu:24.04"
437438
steps:
438439
- uses: actions/checkout@v1
439440
# can't use the option below because of error "Input 'submodules' not supported when falling back to download using the GitHub REST API. To create a local Git repository instead, add Git 2.18 or higher to the PATH."
@@ -469,8 +470,8 @@ jobs:
469470
run: make update-servers
470471

471472

472-
linux20-github--dotnet-and-mono:
473-
runs-on: ubuntu-20.04
473+
linux22-github--dotnet-and-mono:
474+
runs-on: ubuntu-22.04
474475
steps:
475476
- uses: actions/checkout@v1
476477
with:
@@ -494,8 +495,9 @@ jobs:
494495
- name: integration tests
495496
run: make update-servers
496497

497-
linux20-github--dotnet-and-newmono:
498-
runs-on: ubuntu-20.04
498+
499+
linux22-github--dotnet-and-newmono:
500+
runs-on: ubuntu-22.04
499501
steps:
500502
- uses: actions/checkout@v1
501503
- name: install missing dependencies
@@ -519,10 +521,10 @@ jobs:
519521
- name: integration tests
520522
run: make update-servers
521523

522-
linux20-vanilla--stockmono-only:
523-
runs-on: ubuntu-20.04
524+
linux22-vanilla--stockmono-only:
525+
runs-on: ubuntu-22.04
524526
container:
525-
image: "ubuntu:20.04"
527+
image: "ubuntu:22.04"
526528
steps:
527529
- uses: actions/checkout@v1
528530
# can't use the option below because of error "Input 'submodules' not supported when falling back to download using the GitHub REST API. To create a local Git repository instead, add Git 2.18 or higher to the PATH."
@@ -555,10 +557,10 @@ jobs:
555557
- name: integration tests
556558
run: make update-servers
557559

558-
linux20-vanilla--newmono-only:
559-
runs-on: ubuntu-20.04
560+
linux22-vanilla--newmono-only:
561+
runs-on: ubuntu-22.04
560562
container:
561-
image: "ubuntu:20.04"
563+
image: "ubuntu:22.04"
562564
steps:
563565
- uses: actions/checkout@v1
564566
# can't use the option below because of error "Input 'submodules' not supported when falling back to download using the GitHub REST API. To create a local Git repository instead, add Git 2.18 or higher to the PATH."
@@ -598,17 +600,17 @@ jobs:
598600
container:
599601
image: "ubuntu:22.04"
600602
needs:
603+
- linux24-github--dotnet-and-mono
604+
- linux24-github--dotnet-and-newmono
605+
- linux24-vanilla--stockmono-only
606+
- linux24-vanilla--newmono-only
607+
- linux24-vanilla--stockdotnet6-only
608+
- linux24-vanilla--stockdotnet6-and-stockmono
609+
- linux24-vanilla--stockdotnet6-and-newmono
601610
- linux22-github--dotnet-and-mono
602611
- linux22-github--dotnet-and-newmono
603612
- linux22-vanilla--stockmono-only
604613
- linux22-vanilla--newmono-only
605-
- linux22-vanilla--stockdotnet6-only
606-
- linux22-vanilla--stockdotnet6-and-stockmono
607-
- linux22-vanilla--stockdotnet6-and-newmono
608-
- linux20-github--dotnet-and-mono
609-
- linux20-github--dotnet-and-newmono
610-
- linux20-vanilla--stockmono-only
611-
- linux20-vanilla--newmono-only
612614
- windows--dotnet6-and-legacyFramework
613615
- windows--legacyFramework-only
614616
- windows--dotnet6-only

0 commit comments

Comments
 (0)