From 358fd59ae077726e90e227db06bf0f0e7536f0fd Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 27 Dec 2020 23:07:58 +0000 Subject: [PATCH] try fix codecov --- .github/workflows/linux.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c91872b91..408629417 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -76,13 +76,12 @@ jobs: args: --package=awc --no-default-features --features=rustls -- --nocapture - name: Generate coverage file - if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') + if: matrix.version == 'stable' && github.ref == 'refs/heads/master' run: | - cargo install cargo-tarpaulin - cargo tarpaulin --out Xml --workspace - + cargo install cargo-tarpaulin --vers "^0.13" + cargo tarpaulin --out Xml - name: Upload to Codecov - if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') + if: matrix.version == 'stable' && github.ref == 'refs/heads/master' uses: codecov/codecov-action@v1 with: file: cobertura.xml