Skip to content

Commit 0f41920

Browse files
committed
Use official actions
1 parent 9244ced commit 0f41920

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v4
2828
# Nightly Rust is used for cargo llvm-cov --doc below.
29-
- uses: dtolnay/rust-toolchain@nightly
29+
- uses: actions-rs/toolchain@v1
3030
with:
31+
profile: minimal
32+
toolchain: nightly
33+
override: true
3134
components: llvm-tools-preview
3235
- name: Install cargo-llvm-cov
3336
uses: taiki-e/install-action@v2
@@ -38,6 +41,7 @@ jobs:
3841
- name: Collect coverage data
3942
# Generate separate reports for tests and doctests, and combine them.
4043
run: |
44+
set -euo pipefail
4145
cargo llvm-cov --no-report --all-features --workspace
4246
cargo llvm-cov --no-report --doc --all-features --workspace
4347
cargo llvm-cov report --doctests --codecov --output-path codecov.json

0 commit comments

Comments
 (0)