Skip to content

Commit 168f86c

Browse files
committed
readme update
1 parent ff12324 commit 168f86c

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[![lint](https://github.com/vladopajic/go-test-coverage/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/vladopajic/go-test-coverage/actions/workflows/lint.yml)
44
[![test](https://github.com/vladopajic/go-test-coverage/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/vladopajic/go-test-coverage/actions/workflows/test.yml)
55
[![Go Report Card](https://goreportcard.com/badge/github.com/vladopajic/go-test-coverage?cache=v1)](https://goreportcard.com/report/github.com/vladopajic/go-test-coverage)
6-
[![codecov](https://codecov.io/gh/vladopajic/go-test-coverage/branch/main/graph/badge.svg?token=WYCKb1MLgl)](https://codecov.io/gh/vladopajic/go-test-coverage)
76
[![GoDoc](https://godoc.org/github.com/vladopajic/go-test-coverage?status.svg)](https://godoc.org/github.com/vladopajic/go-test-coverage)
87
[![Release](https://img.shields.io/github/release/vladopajic/go-test-coverage.svg?style=flat-square)](https://github.com/vladopajic/go-test-coverage/releases/latest)
98

@@ -14,18 +13,18 @@
1413

1514
```yml
1615
name: Go test coverage check
17-
runs-on: ubuntu-latest
18-
steps:
19-
- uses: actions/checkout@v3
20-
- uses: actions/setup-go@v3
21-
22-
- name: test (generate coverage)
23-
run: go test ./... -coverprofile=./cover.out
24-
25-
- name: check test coverage
26-
uses: vladopajic/go-test-coverage@v1
27-
with:
28-
config: ./.testcoverage.yml # (config file is mandatory)
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-go@v3
20+
21+
- name: test (generate coverage)
22+
run: go test ./... -coverprofile=./cover.out
23+
24+
- name: check test coverage
25+
uses: vladopajic/go-test-coverage@v1
26+
with:
27+
config: ./.testcoverage.yml # (config file is mandatory)
2928
```
3029
3130
### Config

0 commit comments

Comments
 (0)