From 00934e2b467fc15216096cf4b3b5e56426ef7e6b Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Tue, 16 Apr 2024 19:30:16 -0400 Subject: [PATCH] build: Update codecov and use the new token. (#2206) Newer versions of codecov require a repo specific token to publish coverage reports. The older versions don't but are failing more often as they prepare to drop support for them. As a part of this change a the token was added as a repository actions secret. --- .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 0c7bb45930..6a0d99a8e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,8 @@ jobs: - name: Run Coverage if: matrix.python-version == '3.8' && matrix.toxenv=='django42' - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: flags: unittests fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}