Skip to content

Commit 152d10c

Browse files
authored
fix: missing release information in the final binary + added codecov (#10)
1 parent a74b1ca commit 152d10c

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ jobs:
7777
- uses: codecov/codecov-action@v5
7878
if: ${{ !cancelled() }}
7979
with:
80+
slug: ${{ github.repository }}
8081
fail_ci_if_error: false
8182
files: ./reports/coverage.out
8283
token: ${{ secrets.CODECOV_TOKEN }}

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ builds:
2323
goarch:
2424
- amd64
2525
- arm
26-
main: ./cmd/go-test-html-report/main.go
26+
main: ./cmd/go-test-html-report
2727
ldflags:
2828
- -s -w
2929
- -X main.version={{.Version}}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
<div align="center">
66

77
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/brpaz/go-test-html-report?style=for-the-badge)
8+
[![Latest Release](https://img.shields.io/github/v/release/brpaz/go-test-html-report?style=for-the-badge)](https://github.com/brpaz/go-test-html-report/releases)
89
[![Go Report Card](https://goreportcard.com/badge/github.com/brpaz/go-test-html-report?style=for-the-badge)](https://goreportcard.com/report/github.com/brpaz/go-test-html-report)
910
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/brpaz/go-test-html-report/ci.yml?style=for-the-badge)](https://github.com/brpaz/go-test-html-report/actions)
11+
[![Codecov](https://img.shields.io/codecov/c/gh/brpaz/go-test-html-report?style=for-the-badge)](https://codecov.io/gh/brpaz/go-test-html-report)
1012
[![LICENSE](https://img.shields.io/github/license/brpaz/go-test-html-report?style=for-the-badge)](https://github.com/brpaz/go-test-html-report/blob/main/LICENSE)
1113

1214
</div>

0 commit comments

Comments
 (0)