Skip to content

Commit

Permalink
Fix codecov-action usage after upgrading to v5 (#6819)
Browse files Browse the repository at this point in the history
The "file" input has been deprecated (and is now gone) in favor of
"files".

Signed-off-by: Antonin Bas <[email protected]>
  • Loading branch information
antoninbas authored Nov 19, 2024
1 parent 32eba02 commit 7a76b9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: .coverage/coverage-unit.txt
files: .coverage/coverage-unit.txt
disable_search: true
flags: unit-tests
name: codecov-unit-test
Expand All @@ -76,7 +76,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: .coverage/coverage-unit.txt
files: .coverage/coverage-unit.txt
disable_search: true
flags: unit-tests
name: codecov-unit-test
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: '*.cov.out*'
files: '*.cov.out*'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-encap
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: '*.cov.out*'
files: '*.cov.out*'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-encap-non-default
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: '*.cov.out*'
files: '*.cov.out*'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-encap-all-features-enabled
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: '*.cov.out*'
files: '*.cov.out*'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-noencap
Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: '*.cov.out*'
files: '*.cov.out*'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-hybrid
Expand Down Expand Up @@ -461,7 +461,7 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: '*.cov.out*'
files: '*.cov.out*'
disable_search: true
flags: kind-e2e-tests
name: codecov-test-e2e-fa
Expand Down

0 comments on commit 7a76b9f

Please sign in to comment.