Skip to content

Commit fbf751b

Browse files
committed
ci(codecov): add codecov token
1 parent c965b75 commit fbf751b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ jobs:
2525
run: go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
2626

2727
- name: Codecov
28-
uses: codecov/codecov-action@v2.1.0
28+
uses: codecov/codecov-action@v4
29+
with:
30+
token: ${{ secrets.CODECOV_TOKEN }}

codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
comment:
2+
layout: "reach, diff, flags, files"
3+
behavior: default
4+
15
ignore:
26
- "**/main.go"

0 commit comments

Comments
 (0)