Skip to content

Commit

Permalink
fix: attempt to use rust-stable with grcov
Browse files Browse the repository at this point in the history
  • Loading branch information
lgalabru committed Mar 29, 2022
1 parent bfe4b68 commit 9075092
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-02-22
toolchain: stable
target: ${{ matrix.target }}
profile: minimal
components: llvm-tools-preview
override: true

- name: Cache cargo
Expand All @@ -93,11 +93,11 @@ jobs:

- name: Install dependencies
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: cargo install grcov --version 0.8.6
run: RUSTC_BOOTSTRAP=1 cargo install grcov

- name: Unit Tests
env:
RUSTFLAGS: "-Zinstrument-coverage"
RUSTFLAGS: "-Cinstrument-coverage"
LLVM_PROFILE_FILE: "clarinet-%p-%m.profraw"
run: cargo build --locked && cargo test

Expand Down

0 comments on commit 9075092

Please sign in to comment.