File tree 2 files changed +20
-17
lines changed 2 files changed +20
-17
lines changed Original file line number Diff line number Diff line change 14
14
strategy :
15
15
fail-fast : false
16
16
matrix :
17
- platform :
18
- - ubuntu-latest
19
- - windows-latest
20
- - macos-latest
17
+ platform : [ubuntu-latest, windows-latest, macos-latest]
21
18
22
19
name : Test coverage-badge-go
23
20
steps :
@@ -27,11 +24,11 @@ jobs:
27
24
fetch-depth : 0
28
25
persist-credentials : false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
29
26
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 '
35
32
36
33
- name : Setup go
37
34
uses : actions/setup-go@v5
Original file line number Diff line number Diff line change @@ -91,7 +91,8 @@ In order to create signed commits see full guide [here](https://httgp.com/signin
91
91
- uses : tj-actions/coverage-badge-go@v2
92
92
id : coverage-badge-go
93
93
with :
94
- # Color of the badge - green/yellow/red
94
+ # Color of the badge -
95
+ # green/yellow/red
95
96
# Type: string
96
97
color : ' '
97
98
@@ -100,29 +101,34 @@ In order to create signed commits see full guide [here](https://httgp.com/signin
100
101
# Default: "coverage.out"
101
102
filename : ' '
102
103
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)
105
107
# Type: string
106
108
green : ' '
107
109
108
- # Optional URL when you click the badge
110
+ # Optional URL when you click
111
+ # the badge
109
112
# Type: string
110
113
link : ' '
111
114
112
115
# Target file (default "README.md")
113
116
# Type: string
114
117
target : ' '
115
118
116
- # Text on the left side of the badge (default: "Coverage")
119
+ # Text on the left side
120
+ # of the badge (default: "Coverage")
117
121
# Type: string
118
122
text : ' '
119
123
120
- # Text on the right side of the badge
124
+ # Text on the right side
125
+ # of the badge
121
126
# Type: string
122
127
value : ' '
123
128
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)
126
132
# Type: string
127
133
yellow : ' '
128
134
You can’t perform that action at this time.
0 commit comments