mirror of
https://github.com/haraldh/chainerror.git
synced 2025-04-07 01:57:26 +02:00
chore: update Rust installation in coverage workflow
Replaced manual Rust installation with dtolnay/rust-toolchain action for better maintainability and clarity. Added necessary components like llvm-tools-preview to support code coverage generation. These changes simplify the workflow setup.
This commit is contained in:
parent
0cee763264
commit
5cb96eeee3
8
.github/workflows/coverage.yml
vendored
8
.github/workflows/coverage.yml
vendored
|
@ -21,9 +21,11 @@ jobs:
|
|||
CARGO_TERM_COLOR: always
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
run: |
|
||||
rustup update nightly
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
target: x86_64-unknown-linux-gnu
|
||||
toolchain: nightly
|
||||
components: llvm-tools-preview
|
||||
- name: Install cargo-llvm-cov
|
||||
uses: taiki-e/install-action@cargo-llvm-cov
|
||||
- name: Generate code coverage
|
||||
|
|
Loading…
Reference in a new issue