Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 64e178a

Browse files
authored
Fix CI coverage step: remove nightly (#1228)
* Use stable version when generating code coverage * Use stable version when generating code coverage
1 parent 4ff4538 commit 64e178a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/rust-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ jobs:
169169
- name: Checkout
170170
uses: actions/checkout@v3
171171

172-
- name: Install Rust nightly
173-
uses: dtolnay/rust-toolchain@master
172+
- name: Install Rust
173+
uses: dtolnay/rust-toolchain@1.70.0
174174
with:
175-
toolchain: nightly
175+
components: llvm-tools-preview
176176

177177
- uses: Swatinem/rust-cache@v2
178178
with:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ coverage: compile-cairo compile-starknet compile-cairo-1-casm compile-cairo-2-ca
217217
$(MAKE) coverage-report
218218

219219
coverage-report: compile-cairo compile-starknet compile-cairo-1-casm compile-cairo-1-sierra compile-cairo-2-casm compile-cairo-2-sierra
220-
cargo +nightly llvm-cov nextest --lcov --ignore-filename-regex 'main.rs' --output-path lcov.info --release
220+
cargo llvm-cov nextest --lcov --ignore-filename-regex 'main.rs' --output-path lcov.info --release
221221

222222
heaptrack:
223223
./scripts/heaptrack.sh

0 commit comments

Comments
 (0)