Skip to content

Commit

Permalink
Fix codecov-action params (#349)
Browse files Browse the repository at this point in the history
* `functionalities` param is no longer exist.
  It was used to enable file fixes to ignore common lines from coverage.
  This feature is now seems to be on by default.

* Adding `disable_search` because we do not need for the codecov action
  to search for coverage files: we explicitly provide files.

Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
  • Loading branch information
m1kola committed Jun 24, 2024
1 parent 2e3c15f commit ce8a923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
run: go test -v ./... -coverprofile cover.out
- uses: codecov/codecov-action@v4
with:
disable_search: true
files: cover.out
functionalities: fixes
token: ${{ secrets.CODECOV_TOKEN }}

go-apidiff:
Expand Down

0 comments on commit ce8a923

Please sign in to comment.