Skip to content

Commit cbdd0fd

Browse files
CI. Upload results to codecov
1 parent 33a7d7a commit cbdd0fd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/reviewdog.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ jobs:
1010
with:
1111
go-version: "1.22"
1212
- name: test
13-
run: go test -v ./...
13+
run: go test -v ./... -covermode=atomic -coverprofile=cover.out
14+
15+
- name: upload coverage report
16+
uses: codecov/codecov-action@v4
17+
with:
18+
file: cover.out
19+
fail_ci_if_error: false
20+
token: ${{ secrets.CODECOV_TOKEN }}
1421

1522
shellcheck:
1623
name: runner / shellcheck

0 commit comments

Comments
 (0)