Skip to content

Commit eabd1be

Browse files
ValuedMammalevanlinjin
authored andcommitted
ci(coverage): Switch to actions-rust-lang/setup-rust-toolchain
1 parent 86df0c3 commit eabd1be

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/code_coverage.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ jobs:
1616
- name: Install lcov tools
1717
run: sudo apt-get install lcov -y
1818
- name: Install Rust toolchain
19-
uses: actions-rs/toolchain@v1
19+
uses: actions-rust-lang/setup-rust-toolchain@v1
2020
with:
2121
toolchain: nightly
2222
override: true
23-
profile: minimal
23+
cache: true
2424
components: llvm-tools-preview
25-
- name: Rust Cache
26-
uses: Swatinem/rust-cache@v2.7.8
2725
- name: Install cargo-llvm-cov
2826
run: if [[ ! -e ~/.cargo/bin/cargo-llvm-cov ]]; then cargo install cargo-llvm-cov; fi
2927
- name: Make coverage directory

0 commit comments

Comments
 (0)