4747jobs :
4848 check-targets :
4949 name : Type checking (${{ matrix.rust.name }}, ${{ matrix.kind.name }})
50- runs-on : ubuntu-20.04
50+ runs-on : ubuntu-latest
5151 if : (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push'
5252 strategy :
5353 matrix :
@@ -129,7 +129,7 @@ jobs:
129129
130130 check-benchmarks :
131131 name : Type-check benchmarks
132- runs-on : ubuntu-20.04
132+ runs-on : ubuntu-latest
133133 if : (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push'
134134 steps :
135135 - name : Checkout sources
@@ -190,7 +190,7 @@ jobs:
190190
191191 miri :
192192 name : Test (miri)
193- runs-on : ubuntu-20.04
193+ runs-on : ubuntu-latest
194194 if : (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push'
195195
196196 steps :
@@ -209,7 +209,7 @@ jobs:
209209
210210 cross-build :
211211 name : Cross-build
212- runs-on : ubuntu-20.04
212+ runs-on : ubuntu-latest
213213 if : (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push'
214214
215215 steps :
@@ -233,7 +233,7 @@ jobs:
233233
234234 fmt :
235235 name : Formatting
236- runs-on : ubuntu-20.04
236+ runs-on : ubuntu-latest
237237 if : (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push'
238238
239239 steps :
@@ -252,7 +252,7 @@ jobs:
252252
253253 clippy :
254254 name : Clippy
255- runs-on : ubuntu-20.04
255+ runs-on : ubuntu-latest
256256 if : (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push'
257257
258258 steps :
@@ -292,7 +292,7 @@ jobs:
292292
293293 documentation :
294294 name : Documentation
295- runs-on : ubuntu-20.04
295+ runs-on : ubuntu-latest
296296 if : (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push'
297297
298298 steps :
@@ -349,7 +349,7 @@ jobs:
349349
350350 coverage :
351351 name : Coverage
352- runs-on : ubuntu-20.04
352+ runs-on : ubuntu-latest
353353 permissions :
354354 issues : write
355355 if : (github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) || github.event_name == 'push'
@@ -368,9 +368,6 @@ jobs:
368368 curl -LsSf https://github.com/taiki-e/cargo-llvm-cov/releases/latest/download/cargo-llvm-cov-x86_64-unknown-linux-gnu.tar.gz \
369369 | tar xzf - -C ~/.cargo/bin
370370
371- # - name: Cache cargo output
372- # uses: Swatinem/rust-cache@v2
373-
374371 - name : Generate coverage report
375372 run : |
376373 cargo llvm-cov clean --workspace
0 commit comments