Skip to content

Commit

Permalink
CI: Update codecov uploader (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
msrd0 authored Oct 13, 2021
1 parent 3b086dc commit 13f9a07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:

- name: Get Tarpaulin Version
id: tarpaulin-version
run: echo "::set-output name=VERSION::$(wget -qO- 'https://api.github.com/repos/xd009642/tarpaulin/releases/latest' | jq -r '.tag_name')"
run: echo "::set-output name=VERSION::$(wget -qO- 'https://crates.io/api/v1/crates/cargo-tarpaulin' | jq -r '.crate.max_stable_version')"

- uses: actions/cache@v2
with:
Expand All @@ -126,6 +126,6 @@ jobs:
- name: Install Tarpaulin
run: test -e ~/.cargo/bin/cargo-tarpaulin || cargo install cargo-tarpaulin --version ${{ steps.tarpaulin-version.outputs.VERSION }}

- run: |
cargo tarpaulin --workspace --forward --out Xml
bash <(curl -s https://codecov.io/bash)
- run: cargo tarpaulin --workspace --forward --out Xml

- uses: codecov/codecov-action@v2

0 comments on commit 13f9a07

Please sign in to comment.