From befdceeae5dae6b47fc463eb6a4365cb09bbbf08 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Fri, 19 Jul 2024 17:35:52 +0100 Subject: [PATCH] ci: update codecov-action from v3 to v4 Version 4.4.1 provides a bugfix to correctly detect tokenless upload for PRs from forks: https://github.com/codecov/codecov-action/pull/1437 https://github.com/codecov/codecov-action/issues/1431 Signed-off-by: Radostin Stoyanov --- .github/workflows/codecov.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 9fe2b9ccf..70beca52d 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -4,7 +4,6 @@ on: [push, pull_request] jobs: build: - if: ${{ github.repository == 'checkpoint-restore/go-criu' }} runs-on: ubuntu-latest name: Code coverage steps: @@ -48,7 +47,7 @@ jobs: sudo -E make coverage - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true file: test/.coverage/coverage.out