Skip to content

Commit 6df4dc9

Browse files
committed
ci: pin ubuntu runner to 24.04 in workflows
1 parent d41c56b commit 6df4dc9

19 files changed

Lines changed: 66 additions & 66 deletions

.github/workflows/CICD.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ concurrency:
3535
jobs:
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:
@@ -52,7 +52,7 @@ jobs:
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:
@@ -98,7 +98,7 @@ jobs:
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:

.github/workflows/CheckScripts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ concurrency:
2525
jobs:
2626
shell_check:
2727
name: ShellScript/Check
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-24.04
2929
permissions:
3030
contents: read
3131
steps:
@@ -43,7 +43,7 @@ jobs:
4343

4444
shell_fmt:
4545
name: ShellScript/Format
46-
runs-on: ubuntu-latest
46+
runs-on: ubuntu-24.04
4747
permissions:
4848
contents: read
4949
steps:

.github/workflows/FixPR.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
job:
27-
- { os: ubuntu-latest , features: feat_os_unix }
27+
- { os: ubuntu-24.04 , features: feat_os_unix }
2828
steps:
2929
- uses: actions/checkout@v6
3030
with:

.github/workflows/GnuComment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
actions: read # to list workflow runs artifacts
1616
pull-requests: write # to comment on pr
1717

18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04
1919
if: >
2020
github.event.workflow_run.event == 'pull_request'
2121
steps:

.github/workflows/SizeComment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
actions: read # to list workflow runs artifacts
1616
pull-requests: write # to comment on pr
1717

18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04
1919
if: >
2020
github.event.workflow_run.event == 'pull_request'
2121
steps:

.github/workflows/android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
os: [ubuntu-latest] # , macos-latest
37+
os: [ubuntu-24.04] # , macos-latest
3838
cores: [4] # , 6
3939
ram: [4096]
4040
api-level: [28]

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- cron: "0 0 * * *"
88
jobs:
99
audit:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- uses: actions/checkout@v6
1313
with:

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020
jobs:
2121
benchmarks:
2222
name: Run ${{ matrix.type }} benchmarks for ${{ matrix.package }} (CodSpeed)
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-24.04
2424
timeout-minutes: 90
2525
env:
2626
CARGO_INCREMENTAL: 0

.github/workflows/code-quality.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
job:
34-
- { os: ubuntu-latest , features: feat_os_unix }
34+
- { os: ubuntu-24.04 , features: feat_os_unix }
3535
steps:
3636
- uses: actions/checkout@v6
3737
with:
@@ -71,10 +71,10 @@ jobs:
7171
fail-fast: false
7272
matrix:
7373
job:
74-
- { os: ubuntu-latest , features: all , workspace: true }
74+
- { os: ubuntu-24.04 , features: all , workspace: true }
7575
- { os: macos-latest , features: all , workspace: true }
7676
- { os: windows-latest , features: feat_os_windows }
77-
- { os: ubuntu-latest , features: feat_wasm , target: wasm32-wasip1 }
77+
- { os: ubuntu-24.04 , features: feat_wasm , target: wasm32-wasip1 }
7878
steps:
7979
- uses: actions/checkout@v6
8080
with:
@@ -152,7 +152,7 @@ jobs:
152152
strategy:
153153
matrix:
154154
job:
155-
- { os: ubuntu-latest , features: feat_os_unix }
155+
- { os: ubuntu-24.04 , features: feat_os_unix }
156156
steps:
157157
- uses: actions/checkout@v6
158158
with:
@@ -189,7 +189,7 @@ jobs:
189189
190190
toml_format:
191191
name: Style/toml
192-
runs-on: ubuntu-latest
192+
runs-on: ubuntu-24.04
193193
steps:
194194
- name: Clone repository
195195
uses: actions/checkout@v6
@@ -206,7 +206,7 @@ jobs:
206206

207207
python:
208208
name: Style/Python
209-
runs-on: ubuntu-latest
209+
runs-on: ubuntu-24.04
210210
steps:
211211
- name: Clone repository
212212
uses: actions/checkout@v6
@@ -230,7 +230,7 @@ jobs:
230230
231231
pre_commit:
232232
name: Pre-commit hooks
233-
runs-on: ubuntu-latest
233+
runs-on: ubuntu-24.04
234234
steps:
235235
- name: Checkout repository
236236
uses: actions/checkout@v6

.github/workflows/devcontainer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
jobs:
2020
test:
2121
name: Verify devcontainer
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-24.04
2323
timeout-minutes: 45
2424
steps:
2525
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)