Skip to content

Commit

Permalink
Bump codecov/codecov-action to v4
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
antoninbas committed Sep 20, 2024
1 parent 4e741dd commit df59119
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit df59119

Please sign in to comment.