@@ -35,7 +35,7 @@ concurrency:
3535jobs :
3636 cargo-deny :
3737 name : Style/cargo-deny
38- runs-on : ubuntu-latest
38+ runs-on : ubuntu-24.04
3939 steps :
4040 - uses : actions/checkout@v6
4141 with :
5252 job :
5353 # note: `cargo-udeps` panics when processing stdbuf/libstdbuf ("uu_stdbuf_libstdbuf"); either b/c of the 'cpp' crate or 'libstdbuf' itself
5454 # ... b/c of the panic, a more limited feature set is tested (though only excluding `stdbuf`)
55- - { os: ubuntu-latest , features: "feat_Tier1,feat_require_unix,feat_require_unix_utmpx" }
55+ - { os: ubuntu-24.04 , features: "feat_Tier1,feat_require_unix,feat_require_unix_utmpx" }
5656 - { os: macos-latest , features: "feat_Tier1,feat_require_unix,feat_require_unix_utmpx" }
5757 - { os: windows-latest , features: feat_os_windows }
5858 steps :
9898 fail-fast : false
9999 matrix :
100100 job :
101- - { os: ubuntu-latest , features: feat_os_unix }
101+ - { os: ubuntu-24.04 , features: feat_os_unix }
102102# for now, don't build it on mac & windows because the doc is only published from linux
103103# + it needs a bunch of duplication for build
104104# and I don't want to add a doc step in the regular build to avoid long builds
@@ -166,7 +166,7 @@ jobs:
166166 strategy :
167167 matrix :
168168 job :
169- - { os: ubuntu-latest , features: feat_os_unix }
169+ - { os: ubuntu-24.04 , features: feat_os_unix }
170170 steps :
171171 - uses : actions/checkout@v6
172172 with :
@@ -253,7 +253,7 @@ jobs:
253253 fail-fast : false
254254 matrix :
255255 job :
256- - { os: ubuntu-latest , features: feat_os_unix }
256+ - { os: ubuntu-24.04 , features: feat_os_unix }
257257 steps :
258258 - uses : actions/checkout@v6
259259 with :
@@ -276,7 +276,7 @@ jobs:
276276 fail-fast : false
277277 matrix :
278278 job :
279- - { os: ubuntu-latest , features: feat_os_unix }
279+ - { os: ubuntu-24.04 , features: feat_os_unix }
280280 - { os: macos-latest , features: feat_os_unix }
281281 - { os: windows-latest , features: feat_os_windows }
282282 steps :
@@ -319,7 +319,7 @@ jobs:
319319 fail-fast : false
320320 matrix :
321321 job :
322- - { os: ubuntu-latest , features: feat_os_unix }
322+ - { os: ubuntu-24.04 , features: feat_os_unix }
323323 - { os: macos-latest , features: feat_os_unix }
324324 - { os: windows-latest , features: feat_os_windows }
325325 steps :
@@ -368,19 +368,19 @@ jobs:
368368 matrix :
369369 job :
370370 # - { os , target , cargo-options , default-features, features , use-cross , toolchain, skip-tests, workspace-tests, skip-package, skip-publish }
371- - { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf , features: feat_os_unix_gnueabihf , use-cross: use-cross , skip-tests: true }
371+ - { os: ubuntu-24.04 , target: arm-unknown-linux-gnueabihf , features: feat_os_unix_gnueabihf , use-cross: use-cross , skip-tests: true }
372372 - { os: ubuntu-24.04-arm , target: aarch64-unknown-linux-gnu , features: feat_os_unix_gnueabihf }
373- - { os: ubuntu-latest , target: aarch64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
374- - { os: ubuntu-latest , target: riscv64gc-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
375- # - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: feat_selinux , use-cross: use-cross }
376- - { os: ubuntu-latest , target: i686-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross }
377- - { os: ubuntu-latest , target: i686-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
378- - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross, skip-publish: true }
379- - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,uudoc" , use-cross: no, workspace-tests: true }
380- - { os: ubuntu-latest , target: x86_64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
381- - { os: ubuntu-latest , target: x86_64-unknown-netbsd, features: "feat_os_unix", use-cross: use-cross , skip-tests: true , check-only: true }
382- - { os: ubuntu-latest , target: x86_64-unknown-redox , features: feat_os_unix_redox , use-cross: redoxer , skip-tests: true , check-only: true }
383- - { os: ubuntu-latest , target: wasm32-wasip1, default-features: false, features: feat_wasm, skip-tests: true }
373+ - { os: ubuntu-24.04 , target: aarch64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
374+ - { os: ubuntu-24.04 , target: riscv64gc-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
375+ # - { os: ubuntu-24.04 , target: x86_64-unknown-linux-gnu , features: feat_selinux , use-cross: use-cross }
376+ - { os: ubuntu-24.04 , target: i686-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross }
377+ - { os: ubuntu-24.04 , target: i686-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
378+ - { os: ubuntu-24.04 , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross, skip-publish: true }
379+ - { os: ubuntu-24.04 , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,uudoc" , use-cross: no, workspace-tests: true }
380+ - { os: ubuntu-24.04 , target: x86_64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
381+ - { os: ubuntu-24.04 , target: x86_64-unknown-netbsd, features: "feat_os_unix", use-cross: use-cross , skip-tests: true , check-only: true }
382+ - { os: ubuntu-24.04 , target: x86_64-unknown-redox , features: feat_os_unix_redox , use-cross: redoxer , skip-tests: true , check-only: true }
383+ - { os: ubuntu-24.04 , target: wasm32-wasip1, default-features: false, features: feat_wasm, skip-tests: true }
384384 - { os: macos-latest , target: aarch64-apple-darwin , features: feat_os_unix, workspace-tests: true } # M1 CPU
385385 # PR #7964: chcon should not break build without the feature. cargo check is enough to detect it.
386386 - { os: macos-latest , target: aarch64-apple-darwin , workspace-tests: true, check-only: true } # M1 CPU
@@ -707,7 +707,7 @@ jobs:
707707 fail-fast : false
708708 matrix :
709709 job :
710- - { os: ubuntu-latest , features: unix }
710+ - { os: ubuntu-24.04 , features: unix }
711711 # FIXME: Re-enable macos code coverage
712712 # - { os: macos-latest , features: macos }
713713 # FIXME: Re-enable Code Coverage on windows, which currently fails due to "profiler_builtins". See #6686.
@@ -767,7 +767,7 @@ jobs:
767767 esac
768768
769769 case '${{ matrix.job.os }}' in
770- ubuntu-latest )
770+ ubuntu-24.04 )
771771 # selinux and systemd headers needed to build tests
772772 sudo apt-get -y update
773773 sudo apt-get -y install libselinux1-dev libsystemd-dev
@@ -830,7 +830,7 @@ jobs:
830830 test_selinux :
831831 name : Build/SELinux
832832 needs : [ min_version, deps ]
833- runs-on : ubuntu-latest
833+ runs-on : ubuntu-24.04
834834 steps :
835835 - uses : actions/checkout@v6
836836 with :
@@ -891,7 +891,7 @@ jobs:
891891
892892 test_safe_traversal :
893893 name : Safe Traversal Security Check
894- runs-on : ubuntu-latest
894+ runs-on : ubuntu-24.04
895895 needs : [ min_version, deps ]
896896
897897 steps :
0 commit comments