From 93e2798d560c6126549656a7003a092075b0db8f Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Tue, 27 Aug 2024 19:33:09 +0000 Subject: [PATCH] ci: fix code coverage upload codecov report upload is failing due to rate limiting Signed-off-by: Ramkumar Chinchani --- .github/workflows/build.yaml | 3 ++- .github/workflows/coverage.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 32a14ffa..1b2f84af 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -98,7 +98,8 @@ jobs: if: always() uses: ./.github/actions/show-disk-usage - name: Upload code coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + token: ${{ secrets.CODECOV_TOKEN }} - name: Upload artifacts uses: actions/upload-artifact@v3 if: ${{ matrix.privilege-level == 'priv' }} diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index bd039e50..7894f26c 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -95,7 +95,8 @@ jobs: if: always() uses: ./.github/actions/show-disk-usage - name: Upload code coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + token: ${{ secrets.CODECOV_TOKEN }} with: files: coverage-${{ matrix.privilege-level}}.txt - name: Upload artifacts