diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 54543d0..9314cd4 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -8,6 +8,8 @@ jobs: tests: name: Tests uses: ./.github/workflows/tests.yml + secrets: + codecov_token: ${{ secrets.CODECOV_TOKEN }} linters: name: Linters diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 12e5cbe..4cffd6a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,5 +1,8 @@ on: workflow_call: + secrets: + codecov_token: + required: true name: "Tests" @@ -45,7 +48,8 @@ jobs: uses: actions/download-artifact@v3 with: name: test-coverage - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: fail_ci_if_error: true verbose: true + token: ${{ secrets.codecov_token }}