From 45287a70d6aeb527b246a19cfed47fc609de0333 Mon Sep 17 00:00:00 2001 From: Johanna England Date: Fri, 12 Apr 2024 15:04:07 +0200 Subject: [PATCH] Upgrade codecov-action to v4 --- .github/workflows/build-and-test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 0155b47feb..538939c240 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -91,11 +91,11 @@ jobs: /tmp/pytest-of-runner - name: "Upload coverage to Codecov" - if: "github.repository_owner == 'Uninett'" - uses: codecov/codecov-action@v3 + if: github.repository_owner == 'Uninett' + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos + token: ${{ secrets.CODECOV_TOKEN }} # not required for forks of public repos - name: Upload test reports (${{ matrix.python-version }}) if: always() @@ -154,4 +154,3 @@ jobs: name: javascript-test-reports path: | reports/**/* -