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