Skip to content

Commit 941c2ff

Browse files
committed
Update tests to run on Ubuntu 22.04 (instead of 20.04)
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 5ddec2a commit 941c2ff

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
check-doc:
1717
name: Docs, deadlinks, minimal dependencies
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
steps:
2020
- uses: actions/checkout@v3
2121
- uses: dtolnay/rust-toolchain@nightly # Needed for -Z minimal-versions and doc_cfg
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ${{ matrix.os }}
4242
strategy:
4343
matrix:
44-
os: [ubuntu-latest, windows-latest]
44+
os: [ubuntu-22.04, windows-latest]
4545
toolchain: [nightly, beta, stable, 1.36]
4646
# Only Test macOS on stable to reduce macOS CI jobs
4747
include:
@@ -61,7 +61,7 @@ jobs:
6161

6262
linux-tests:
6363
name: Linux Test
64-
runs-on: ubuntu-latest
64+
runs-on: ubuntu-22.04
6565
strategy:
6666
matrix:
6767
target: [
@@ -127,7 +127,7 @@ jobs:
127127

128128
cross-tests:
129129
name: Cross Test
130-
runs-on: ubuntu-latest
130+
runs-on: ubuntu-22.04
131131
strategy:
132132
matrix:
133133
target: [
@@ -164,7 +164,7 @@ jobs:
164164

165165
cross-link:
166166
name: Cross Build/Link
167-
runs-on: ubuntu-latest
167+
runs-on: ubuntu-22.04
168168
strategy:
169169
matrix:
170170
target: [
@@ -191,7 +191,7 @@ jobs:
191191
fail-fast: false
192192
matrix:
193193
include:
194-
- os: ubuntu-latest
194+
- os: ubuntu-22.04
195195
host: x86_64-unknown-linux-musl
196196
- os: windows-latest
197197
host: x86_64-pc-windows-msvc
@@ -230,7 +230,7 @@ jobs:
230230

231231
wasm64-tests:
232232
name: wasm64 Build/Link
233-
runs-on: ubuntu-latest
233+
runs-on: ubuntu-22.04
234234
steps:
235235
- uses: actions/checkout@v3
236236
- uses: dtolnay/rust-toolchain@nightly # Need to build libstd
@@ -245,7 +245,7 @@ jobs:
245245

246246
wasi-tests:
247247
name: WASI Test
248-
runs-on: ubuntu-latest
248+
runs-on: ubuntu-22.04
249249
steps:
250250
- uses: actions/checkout@v3
251251
- uses: dtolnay/rust-toolchain@stable
@@ -262,7 +262,7 @@ jobs:
262262

263263
build-tier2:
264264
name: Tier 2 Build
265-
runs-on: ubuntu-latest
265+
runs-on: ubuntu-22.04
266266
strategy:
267267
matrix:
268268
target: [
@@ -281,7 +281,7 @@ jobs:
281281

282282
build-tier3:
283283
name: Tier 3 Build
284-
runs-on: ubuntu-latest
284+
runs-on: ubuntu-22.04
285285
strategy:
286286
matrix:
287287
# Supported tier 3 targets without libstd support
@@ -318,7 +318,7 @@ jobs:
318318

319319
clippy-fmt:
320320
name: Clippy + rustfmt
321-
runs-on: ubuntu-latest
321+
runs-on: ubuntu-22.04
322322
steps:
323323
- uses: actions/checkout@v1
324324
- uses: dtolnay/rust-toolchain@stable

0 commit comments

Comments
 (0)