From f5de994ad40ca1d9939660970c7d6cb25ec9e43b Mon Sep 17 00:00:00 2001 From: Jean-Michel Picod Date: Mon, 2 Aug 2021 17:15:44 +0200 Subject: [PATCH] Fix coveralls workflow (#355) --- .github/workflows/coveralls.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 75ee6a4..bab8255 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -20,6 +20,12 @@ jobs: - uses: actions-rs/toolchain@v1 with: target: thumbv7em-none-eabi + - uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + - name: Install grcov + run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo +nightly install grcov; fi - uses: actions/setup-python@v1 with: python-version: 3.7 @@ -36,9 +42,9 @@ jobs: CARGO_INCREMENTAL: '0' RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' - - uses: actions-rs/grcov@v0.1 + - uses: actions-rs/grcov@v0.1.5 id: coverage - - uses: coverallsapp/github-action@master + - uses: coverallsapp/github-action@1.1.3 name: upload report to coveralls with: github-token: ${{ secrets.GITHUB_TOKEN }}