Skip to content

Commit 75066fb

Browse files
ci: update Codecov action to v5 (#47)
1 parent fbc85eb commit 75066fb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/unit.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ jobs:
3030
GOARCH: 386
3131
run: go test -v -cover
3232
- name: Upload coverage to Codecov
33-
uses: codecov/codecov-action@v4
33+
if: ${{ !cancelled() }}
34+
uses: codecov/codecov-action@v5
35+
env:
36+
OS: ${{ matrix.os }}
37+
GO: ${{ matrix.go }}
3438
with:
35-
files: coverage.txt,coverage-root.txt
36-
env_vars: OS=${{ matrix.os }}, GO=${{ matrix.go }}
39+
files: coverage.txt
40+
env_vars: OS,GO
3741
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)