From c1df726081e51b36632d1c5abe0562d57b4a6237 Mon Sep 17 00:00:00 2001 From: Eirik A Date: Sat, 13 Apr 2024 11:21:27 +0100 Subject: [PATCH] tarpaulin from release (#1468) * tarpaulin from release Signed-off-by: clux * bump action + include secret explicitly Signed-off-by: clux --------- Signed-off-by: clux --- .github/workflows/coverage.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index cd6191c71..ddc8615f2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -19,13 +19,10 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - # - name: Install tarpaulin - # uses: taiki-e/install-action@v2 - # with: - # tool: cargo-tarpaulin - - name: Install tarpaulin # Use dev tarpaulin from git repo for now, until it's pushed to release - run: | - rustup run stable cargo install --git https://github.com/xd009642/tarpaulin.git --rev 2b05ebd4f809eeeeb590f68efb8e62758eb59214 cargo-tarpaulin + - name: Install tarpaulin + uses: taiki-e/install-action@v2 + with: + tool: cargo-tarpaulin@0.28.0 - uses: AbsaOSS/k3d-action@v2 name: "Create Single Cluster" with: @@ -38,4 +35,6 @@ jobs: run: | rustup run stable cargo tarpaulin -o xml --skip-clean - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }}