Skip to content

Commit d5c69fc

Browse files
committed
[skip ci]chore: use codecov action to upload test result
1 parent 2113338 commit d5c69fc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@ jobs:
2121
- name: Run Test
2222
run: go test ./... -coverprofile=coverage.out -covermode=atomic
2323
- name: Upload coverage to Codecov
24-
run: bash <(curl -s https://codecov.io/bash)
24+
uses: codecov/codecov-action@v5
25+
with:
26+
files: ./coverage.out
27+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)