From d888d82ce1dc8df7d7610f4c840176d231eafe6d Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Mon, 1 Jul 2024 14:28:21 +0100 Subject: [PATCH] Upgrade codecov action and pass token --- .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 adfa1c5bd7..fbfe8488d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,10 +144,11 @@ jobs: - name: Upload coverage to Codecov if: ${{ always() }} - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: file: ./coverage/coverage-final.json fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} test: name: Run tests on Node v${{ matrix.node_version_to_setup }}