3535 # the changes in PR, others also define a set of other criteria, such as
3636 # whether a label has been added, or we're on `main` branch.
3737 rules :
38- runs-on : ubuntu-latest
38+ runs-on : ubuntu-22.04
3939 permissions :
4040 pull-requests : read
4141 outputs :
@@ -354,7 +354,7 @@ jobs:
354354 # Another option is https://github.com/lycheeverse/lychee, but it was
355355 # weirdly difficult to exclude a directory, and I managed to get
356356 # rate-limited by GH because of it scanning node_modules.
357- runs-on : ubuntu-latest
357+ runs-on : ubuntu-22.04
358358 steps :
359359 - name : 📂 Checkout code
360360 uses : actions/checkout@v4
@@ -380,7 +380,7 @@ jobs:
380380 needs.rules.outputs.book == 'true' || needs.rules.outputs.nightly ==
381381 ' true'
382382
383- runs-on : ubuntu-latest
383+ runs-on : ubuntu-22.04
384384
385385 steps :
386386 - name : 📂 Checkout code
@@ -407,7 +407,7 @@ jobs:
407407 run : hyperlink web/book/book/
408408
409409 measure-code-cov :
410- runs-on : ubuntu-latest
410+ runs-on : ubuntu-22.04
411411 needs : rules
412412 steps :
413413 - name : 📂 Checkout code
@@ -473,7 +473,7 @@ jobs:
473473 test-grammars :
474474 # Currently tests lezer grammars. We could split that out into a separate
475475 # job if we want when we add more.
476- runs-on : ubuntu-latest
476+ runs-on : ubuntu-22.04
477477 needs : rules
478478 if :
479479 needs.rules.outputs.grammars == 'true' || needs.rules.outputs.main ==
@@ -510,7 +510,7 @@ jobs:
510510 push : ${{ needs.rules.outputs.devcontainer-push == 'true' }}
511511
512512 test-msrv :
513- runs-on : ubuntu-latest
513+ runs-on : ubuntu-22.04
514514 needs : rules
515515 if : needs.rules.outputs.nightly == 'true'
516516 steps :
@@ -528,7 +528,7 @@ jobs:
528528 run : cargo msrv verify
529529
530530 test-deps-min-versions :
531- runs-on : ubuntu-latest
531+ runs-on : ubuntu-22.04
532532 needs : rules
533533 if : needs.rules.outputs.nightly == 'true'
534534 steps :
@@ -576,7 +576,7 @@ jobs:
576576 - test-rust
577577 - test-rust-main
578578 - test-taskfile
579- runs-on : ubuntu-latest
579+ runs-on : ubuntu-22.04
580580 steps :
581581 - name : Decide whether the needed jobs succeeded or failed
582582 # https://github.com/re-actors/alls-green/issues/23
@@ -698,7 +698,7 @@ jobs:
698698 RUSTDOCFLAGS : " -Dwarnings"
699699
700700 create-issue-on-nightly-failure :
701- runs-on : ubuntu-latest
701+ runs-on : ubuntu-22.04
702702 needs :
703703 - check-ok-to-merge
704704 - rules
@@ -723,7 +723,7 @@ jobs:
723723 search_existing : open
724724
725725 update-rust-toolchain :
726- runs-on : ubuntu-latest
726+ runs-on : ubuntu-22.04
727727 needs : rules
728728 if : ${{ needs.rules.outputs.nightly-upstream == 'true' }}
729729 # Note that this doesn't change the minimum supported version, only the
0 commit comments