44
44
run : sudo rm -rf $CARGO_HOME/registry/index
45
45
46
46
macos-aarch64 :
47
- runs-on : macos-14
47
+ runs-on : macos-latest
48
48
env :
49
49
TARGET : aarch64-apple-darwin
50
50
steps :
73
73
# Use cross for QEMU-based testing
74
74
# cross needs to execute Docker, GitHub Action already has it installed
75
75
cross :
76
- runs-on : ubuntu-20.04
76
+ runs-on : ubuntu-latest
77
77
needs : [rustfmt, minver, macos, linux_native_builds, rust_stable]
78
78
strategy :
79
79
fail-fast : false
@@ -129,7 +129,7 @@ jobs:
129
129
# Tasks for Linux native builds
130
130
# Only test x86_64 targets on GitHub Action, leave aarch64 one in Cirrus CI.
131
131
linux_native_builds :
132
- runs-on : ubuntu-20.04
132
+ runs-on : ubuntu-latest
133
133
strategy :
134
134
fail-fast : false
135
135
matrix :
@@ -165,7 +165,7 @@ jobs:
165
165
run : sudo rm -rf $CARGO_HOME/registry/index;
166
166
167
167
rust_stable :
168
- runs-on : ubuntu-20.04
168
+ runs-on : ubuntu-latest
169
169
env :
170
170
TARGET : x86_64-unknown-linux-gnu
171
171
steps :
@@ -194,7 +194,7 @@ jobs:
194
194
195
195
# Tasks for cross-compiling, but no testing
196
196
cross_compiling :
197
- runs-on : ubuntu-20.04
197
+ runs-on : ubuntu-latest
198
198
needs : [rustfmt, minver, macos, linux_native_builds, rust_stable]
199
199
env :
200
200
BUILD : check
@@ -249,7 +249,7 @@ jobs:
249
249
250
250
251
251
redox :
252
- runs-on : ubuntu-20.04
252
+ runs-on : ubuntu-latest
253
253
needs : [rustfmt, minver, macos, linux_native_builds, rust_stable]
254
254
env :
255
255
TARGET : x86_64-unknown-redox
@@ -282,7 +282,7 @@ jobs:
282
282
283
283
# Rust Tier 3 targets can't use Rustup
284
284
tier3 :
285
- runs-on : ubuntu-20.04
285
+ runs-on : ubuntu-latest
286
286
env :
287
287
BUILD : check
288
288
ZFLAGS : -Zbuild-std
@@ -328,7 +328,7 @@ jobs:
328
328
# "cargo test" doesn't work because some of our dev-dependencies, like
329
329
# rand, can't build with their own minimal dependencies.
330
330
minver :
331
- runs-on : ubuntu-20.04
331
+ runs-on : ubuntu-latest
332
332
env :
333
333
TARGET : x86_64-unknown-linux-gnu
334
334
steps :
@@ -349,7 +349,7 @@ jobs:
349
349
350
350
# Tasks that checks if the code is formatted right using `cargo fmt` tool
351
351
rustfmt :
352
- runs-on : ubuntu-20.04
352
+ runs-on : ubuntu-latest
353
353
steps :
354
354
- name : Checkout
355
355
uses : actions/checkout@v4
0 commit comments