From 13742685c91de49fccace513a7cf63183e29b7ae Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Thu, 11 Apr 2024 14:49:18 -0400 Subject: [PATCH] build: Update codecov and start using repo tokens. Update codecove to the latest version and start using the per repo tokens which will soon be required to get more reliable coverage builds. This change also has a corresponding addition of a codecov repo upload token to the repository secrets for this repo. --- .github/workflows/validate.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 9e10274cd8..c94e8034c2 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -18,6 +18,7 @@ jobs: node-version: ${{ env.NODE_VER }} - run: make validate.ci - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: - fail_ci_if_error: false + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}