Skip to content

Commit f170b1f

Browse files
committed
Use ubuntu-20.04 instead of ubuntu-latest
1 parent cb8df45 commit f170b1f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/clippy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030
jobs:
3131
base:
3232
# NOTE: If you modify this job, make sure you copy the changes to clippy_bors.yml
33-
runs-on: ubuntu-latest
33+
runs-on: ubuntu-20.04
3434

3535
steps:
3636
# Setup

.github/workflows/clippy_bors.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ defaults:
1919

2020
jobs:
2121
changelog:
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-20.04
2323

2424
steps:
2525
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
@@ -53,12 +53,12 @@ jobs:
5353
needs: changelog
5454
strategy:
5555
matrix:
56-
os: [ubuntu-latest, windows-latest, macos-latest]
56+
os: [ubuntu-20.04, windows-latest, macos-latest]
5757
host: [x86_64-unknown-linux-gnu, i686-unknown-linux-gnu, x86_64-apple-darwin, x86_64-pc-windows-msvc]
5858
exclude:
59-
- os: ubuntu-latest
59+
- os: ubuntu-20.04
6060
host: x86_64-apple-darwin
61-
- os: ubuntu-latest
61+
- os: ubuntu-20.04
6262
host: x86_64-pc-windows-msvc
6363
- os: macos-latest
6464
host: x86_64-unknown-linux-gnu
@@ -147,7 +147,7 @@ jobs:
147147

148148
metadata_collection:
149149
needs: changelog
150-
runs-on: ubuntu-latest
150+
runs-on: ubuntu-20.04
151151

152152
steps:
153153
# Setup
@@ -166,7 +166,7 @@ jobs:
166166

167167
integration_build:
168168
needs: changelog
169-
runs-on: ubuntu-latest
169+
runs-on: ubuntu-20.04
170170

171171
steps:
172172
# Setup
@@ -224,7 +224,7 @@ jobs:
224224
- 'rust-lang-nursery/failure'
225225
- 'rust-lang/log'
226226

227-
runs-on: ubuntu-latest
227+
runs-on: ubuntu-20.04
228228

229229
steps:
230230
# Setup
@@ -265,7 +265,7 @@ jobs:
265265
end-success:
266266
name: bors test finished
267267
if: github.event.pusher.name == 'bors' && success()
268-
runs-on: ubuntu-latest
268+
runs-on: ubuntu-20.04
269269
needs: [changelog, base, metadata_collection, integration_build, integration]
270270

271271
steps:
@@ -275,7 +275,7 @@ jobs:
275275
end-failure:
276276
name: bors test finished
277277
if: github.event.pusher.name == 'bors' && (failure() || cancelled())
278-
runs-on: ubuntu-latest
278+
runs-on: ubuntu-20.04
279279
needs: [changelog, base, metadata_collection, integration_build, integration]
280280

281281
steps:

0 commit comments

Comments
 (0)