Skip to content

Commit 8d87d5b

Browse files
authored
Use codecov service for reporting (#109)
1 parent e2dd917 commit 8d87d5b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/go-build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ jobs:
3434
run: golangci-lint run
3535

3636
- name: Run Tests and Generate Coverage
37-
run: go test -v -coverprofile=coverage.out ./...
37+
run: go test -v -coverprofile=coverage.txt ./...
3838

39-
- name: Upload Coverage Report
40-
uses: actions/upload-artifact@v3
39+
- name: Upload coverage reports to Codecov
40+
uses: codecov/codecov-action@v5
4141
with:
42-
name: coverage-report
43-
path: coverage.out
42+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)