From 1f0e7ff2aa8e00e457ec0d14138ba1b5c8bdc374 Mon Sep 17 00:00:00 2001 From: "chentao.cht" Date: Mon, 17 Jun 2024 11:34:03 +0800 Subject: [PATCH] fix: codecov --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d9ed441..e976d095 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,11 +39,12 @@ jobs: - name: Upload coverage reports to Codecov if: ${{ github.repository == 'kubewharf/kubeadmiral' && matrix.go-version == '1.19' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.out flags: unittests + # https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954 fail_ci_if_error: true verbose: true