1
0
Fork 0
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:
Harald Hoyer 2025-03-31 13:21:34 +02:00
parent 0cee763264
commit 5cb96eeee3

View file

@ -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