Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 3c7a832

Browse files
committed
Change from -latest to named CI images
GitHub will be upgrading the `-latest` tags of these images in the near future. Change all images to specify the latest version.
1 parent 8552890 commit 3c7a832

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

.github/workflows/main.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -16,56 +16,56 @@ jobs:
1616
matrix:
1717
include:
1818
- target: aarch64-apple-darwin
19-
os: macos-latest
19+
os: macos-15
2020
- target: aarch64-unknown-linux-gnu
21-
os: ubuntu-latest
21+
os: ubuntu-24.04
2222
- target: aarch64-pc-windows-msvc
23-
os: windows-latest
23+
os: windows-2025
2424
build_only: 1 # Can't run on x86 hosts
2525
- target: arm-unknown-linux-gnueabi
26-
os: ubuntu-latest
26+
os: ubuntu-24.04
2727
- target: arm-unknown-linux-gnueabihf
28-
os: ubuntu-latest
28+
os: ubuntu-24.04
2929
- target: armv7-unknown-linux-gnueabihf
30-
os: ubuntu-latest
30+
os: ubuntu-24.04
3131
- target: i586-unknown-linux-gnu
32-
os: ubuntu-latest
32+
os: ubuntu-24.04
3333
- target: i686-unknown-linux-gnu
34-
os: ubuntu-latest
34+
os: ubuntu-24.04
3535
- target: loongarch64-unknown-linux-gnu
36-
os: ubuntu-latest
36+
os: ubuntu-24.04
3737
- target: powerpc-unknown-linux-gnu
38-
os: ubuntu-latest
38+
os: ubuntu-24.04
3939
- target: powerpc64-unknown-linux-gnu
40-
os: ubuntu-latest
40+
os: ubuntu-24.04
4141
- target: powerpc64le-unknown-linux-gnu
42-
os: ubuntu-latest
42+
os: ubuntu-24.04
4343
- target: riscv64gc-unknown-linux-gnu
44-
os: ubuntu-latest
44+
os: ubuntu-24.04
4545
- target: thumbv6m-none-eabi
46-
os: ubuntu-latest
46+
os: ubuntu-24.04
4747
- target: thumbv7em-none-eabi
48-
os: ubuntu-latest
48+
os: ubuntu-24.04
4949
- target: thumbv7em-none-eabihf
50-
os: ubuntu-latest
50+
os: ubuntu-24.04
5151
- target: thumbv7m-none-eabi
52-
os: ubuntu-latest
52+
os: ubuntu-24.04
5353
- target: x86_64-unknown-linux-gnu
54-
os: ubuntu-latest
54+
os: ubuntu-24.04
5555
- target: x86_64-apple-darwin
5656
os: macos-13
5757
- target: wasm32-unknown-unknown
58-
os: ubuntu-latest
58+
os: ubuntu-24.04
5959
build_only: 1
6060
- target: i686-pc-windows-msvc
61-
os: windows-latest
61+
os: windows-2025
6262
- target: x86_64-pc-windows-msvc
63-
os: windows-latest
63+
os: windows-2025
6464
- target: i686-pc-windows-gnu
65-
os: windows-latest
65+
os: windows-2025
6666
channel: nightly-i686-gnu
6767
- target: x86_64-pc-windows-gnu
68-
os: windows-latest
68+
os: windows-2025
6969
channel: nightly-x86_64-gnu
7070
runs-on: ${{ matrix.os }}
7171
env:
@@ -94,20 +94,20 @@ jobs:
9494

9595
# Non-linux tests just use our raw script
9696
- name: Run locally
97-
if: matrix.os != 'ubuntu-latest' || contains(matrix.target, 'wasm')
97+
if: matrix.os != 'ubuntu-24.04' || contains(matrix.target, 'wasm')
9898
shell: bash
9999
run: ./ci/run.sh ${{ matrix.target }}
100100

101101
# Otherwise we use our docker containers to run builds
102102
- name: Run in Docker
103-
if: matrix.os == 'ubuntu-latest' && !contains(matrix.target, 'wasm')
103+
if: matrix.os == 'ubuntu-24.04' && !contains(matrix.target, 'wasm')
104104
run: |
105105
rustup target add x86_64-unknown-linux-musl
106106
cargo generate-lockfile && ./ci/run-docker.sh ${{ matrix.target }}
107107
108108
clippy:
109109
name: Clippy
110-
runs-on: ubuntu-latest
110+
runs-on: ubuntu-24.04
111111
steps:
112112
- uses: actions/checkout@master
113113
- name: Install Rust
@@ -125,7 +125,7 @@ jobs:
125125
126126
builtins:
127127
name: Check use with compiler-builtins
128-
runs-on: ubuntu-latest
128+
runs-on: ubuntu-24.04
129129
steps:
130130
- uses: actions/checkout@master
131131
- name: Install Rust
@@ -135,7 +135,7 @@ jobs:
135135

136136
benchmarks:
137137
name: Benchmarks
138-
runs-on: ubuntu-latest
138+
runs-on: ubuntu-24.04
139139
steps:
140140
- uses: actions/checkout@master
141141
- name: Install Rust
@@ -147,7 +147,7 @@ jobs:
147147

148148
msrv:
149149
name: Check MSRV
150-
runs-on: ubuntu-latest
150+
runs-on: ubuntu-24.04
151151
env:
152152
RUSTFLAGS: # No need to check warnings on old MSRV, unset `-Dwarnings`
153153
steps:
@@ -163,7 +163,7 @@ jobs:
163163

164164
rustfmt:
165165
name: Rustfmt
166-
runs-on: ubuntu-latest
166+
runs-on: ubuntu-24.04
167167
steps:
168168
- uses: actions/checkout@master
169169
- name: Install Rust
@@ -180,7 +180,7 @@ jobs:
180180
- benchmarks
181181
- msrv
182182
- rustfmt
183-
runs-on: ubuntu-latest
183+
runs-on: ubuntu-24.04
184184
# GitHub branch protection is exceedingly silly and treats "jobs skipped because a dependency
185185
# failed" as success. So we have to do some contortions to ensure the job fails if any of its
186186
# dependencies fails.

0 commit comments

Comments
 (0)