From df59119c57975bf75b2bc069a4ce0b8a03933393 Mon Sep 17 00:00:00 2001 From: Antonin Bas Date: Fri, 20 Sep 2024 15:47:31 -0700 Subject: [PATCH] Bump codecov/codecov-action to v4 We need to use a token to upload coverage data. We can also disable coverage data search, as we already provide the list of files (a single file in our case) to include in the report. Signed-off-by: Antonin Bas --- .github/workflows/go.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index cfff8a4..dff0c43 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -28,9 +28,11 @@ jobs: run: make test-unit - name: Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} file: .coverage/coverage_unit.txt + disable_search: true flags: unit-tests name: codecov-unit-test @@ -51,9 +53,11 @@ jobs: run: make test-integration - name: Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} file: .coverage/coverage_integration.txt + disable_search: true flags: integration-tests name: codecov-integration-test