Skip to content

Commit 481919e

Browse files
authored
Updated README.md (#232)
* Updated README.md * Update test.yml
1 parent fce22f1 commit 481919e

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
platform:
18-
- ubuntu-latest
19-
- windows-latest
20-
- macos-latest
17+
platform: [ubuntu-latest, windows-latest, macos-latest]
2118

2219
name: Test coverage-badge-go
2320
steps:
@@ -27,11 +24,11 @@ jobs:
2724
fetch-depth: 0
2825
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
2926

30-
# - name: golangci-lint
31-
# uses: reviewdog/action-golangci-lint@v2
32-
# with:
33-
# workdir: test
34-
# go_version: "1.14.4"
27+
- name: golangci-lint
28+
uses: reviewdog/action-golangci-lint@v2
29+
with:
30+
workdir: test
31+
go_version_file: 'test/go.mod'
3532

3633
- name: Setup go
3734
uses: actions/setup-go@v5

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ In order to create signed commits see full guide [here](https://httgp.com/signin
9191
- uses: tj-actions/coverage-badge-go@v2
9292
id: coverage-badge-go
9393
with:
94-
# Color of the badge - green/yellow/red
94+
# Color of the badge -
95+
# green/yellow/red
9596
# Type: string
9697
color: ''
9798

@@ -100,29 +101,34 @@ In order to create signed commits see full guide [here](https://httgp.com/signin
100101
# Default: "coverage.out"
101102
filename: ''
102103

103-
# At what percentage does the badge become green instead
104-
# of yellow (default: 70)
104+
# At what percentage does the
105+
# badge become green instead of
106+
# yellow (default: 70)
105107
# Type: string
106108
green: ''
107109

108-
# Optional URL when you click the badge
110+
# Optional URL when you click
111+
# the badge
109112
# Type: string
110113
link: ''
111114

112115
# Target file (default "README.md")
113116
# Type: string
114117
target: ''
115118

116-
# Text on the left side of the badge (default: "Coverage")
119+
# Text on the left side
120+
# of the badge (default: "Coverage")
117121
# Type: string
118122
text: ''
119123

120-
# Text on the right side of the badge
124+
# Text on the right side
125+
# of the badge
121126
# Type: string
122127
value: ''
123128

124-
# At what percentage does the badge become yellow instead
125-
# of red (default 30)
129+
# At what percentage does the
130+
# badge become yellow instead of
131+
# red (default 30)
126132
# Type: string
127133
yellow: ''
128134

0 commit comments

Comments
 (0)