From 6904f0c02c64adae0596097b3af6e4a07687c721 Mon Sep 17 00:00:00 2001 From: Min Kim Date: Wed, 22 May 2024 11:43:03 -0700 Subject: [PATCH] Update codecov-action to v4 --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6e8780..68e4bc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,12 @@ jobs: run: cargo tarpaulin --out Xml --features "intel-mkl-static, serialization" - name: Upload coverage to Codecov if: matrix.os == 'ubuntu-latest' && matrix.rust == 'stable' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + files: ./tarpaulin-report.xml + fail_ci_if_error: true check: runs-on: ubuntu-latest