Skip to content

Commit e404089

Browse files
committed
deps(ci): use dtolnay/toolchain instead of installing rustup
1 parent 7416bf9 commit e404089

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/code_coverage.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ jobs:
1616
uses: actions/checkout@v4
1717
- name: Install lcov tools
1818
run: sudo apt-get install lcov -y
19-
- name: Install rustup
20-
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
21-
- name: Set default toolchain
22-
run: rustup default nightly
19+
- name: Install Rust Toolchain
20+
uses: dtolnay/rust-toolchain@v1
21+
with:
22+
toolchain: nightly
2323
- name: Set profile
2424
run: rustup set profile minimal
25+
- name: Update toolchain
26+
run: rustup update
2527
- name: Add llvm tools
2628
run: rustup component add llvm-tools-preview
2729
- name: Update toolchain

0 commit comments

Comments
 (0)