1
0
Fork 0
mirror of https://github.com/haraldh/chainerror.git synced 2025-04-26 00:41:30 +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 CARGO_TERM_COLOR: always
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Rust - uses: dtolnay/rust-toolchain@master
run: | with:
rustup update nightly target: x86_64-unknown-linux-gnu
toolchain: nightly
components: llvm-tools-preview
- name: Install cargo-llvm-cov - name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage - name: Generate code coverage