Skip to content

Commit 9b5850b

Browse files
committed
Update dependencies, actions steps, and usage for v2-maint
1 parent 67566bb commit 9b5850b

File tree

5 files changed

+21
-36
lines changed

5 files changed

+21
-36
lines changed

.github/workflows/cli.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ${{ matrix.os }}
2121
steps:
2222
- uses: actions/checkout@v4
23-
- uses: actions/setup-go@v4
23+
- uses: actions/setup-go@v5
2424
with:
2525
go-version: ${{ matrix.go }}
2626
- name: Set PATH
@@ -46,7 +46,7 @@ jobs:
4646
- if: matrix.go == 'stable' && matrix.os == 'ubuntu-latest'
4747
run: make v2diff
4848
- if: success() && matrix.go == 'stable' && matrix.os == 'ubuntu-latest'
49-
uses: codecov/codecov-action@v3
49+
uses: codecov/codecov-action@v4
5050
with:
5151
token: ${{ secrets.CODECOV_TOKEN }}
5252
fail_ci_if_error: true
@@ -55,12 +55,12 @@ jobs:
5555
runs-on: ubuntu-latest
5656
steps:
5757
- uses: actions/checkout@v4
58-
- uses: actions/setup-go@v4
58+
- uses: actions/setup-go@v5
5959
with:
6060
go-version: stable
6161
- uses: actions/setup-node@v4
6262
with:
63-
node-version: '16'
63+
node-version: latest
6464
- name: Set PATH
6565
run: echo "${GITHUB_WORKSPACE}/.local/bin" >>"${GITHUB_PATH}"
6666
- run: make ensure-gfmrun

.github/workflows/golangci-lint.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
name: lint
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/setup-go@v3
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-go@v5
1920
with:
20-
go-version: "1.20"
21-
- uses: actions/checkout@v3
21+
go-version: stable
2222
- name: golangci-lint
23-
uses: golangci/golangci-lint-action@v3
23+
uses: golangci/golangci-lint-action@v5
2424
with:
25-
version: latest
25+
version: latest

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ go 1.18
44

55
require (
66
github.com/BurntSushi/toml v1.3.2
7-
github.com/cpuguy83/go-md2man/v2 v2.0.2
8-
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673
7+
github.com/cpuguy83/go-md2man/v2 v2.0.4
8+
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913
99
gopkg.in/yaml.v3 v3.0.1
1010
)
1111

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
22
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
3-
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
4-
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
3+
github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4=
4+
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
55
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
66
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
7-
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU=
8-
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=
7+
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 h1:+qGGcbkzsfDQNPPe9UDgpxAWQrhbbBXOYJFQDq/dtJw=
8+
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913/go.mod h1:4aEEwZQutDLsQv2Deui4iYQ6DWTxR14g6m8Wv88+Xqk=
99
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
1010
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
1111
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

testdata/expected-doc-full.man

+6-21
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,11 @@ greet - Some app
1010
.PP
1111
greet
1212

13-
.PP
14-
.RS
15-
16-
.nf
13+
.EX
1714
[--another-flag|-b]
1815
[--flag|--fl|-f]=[value]
1916
[--socket|-s]=[value]
20-
21-
.fi
22-
.RE
17+
.EE
2318

2419

2520
.SH DESCRIPTION
@@ -29,14 +24,9 @@ Description of the application.
2924
.PP
3025
\fBUsage\fP:
3126

32-
.PP
33-
.RS
34-
35-
.nf
27+
.EX
3628
app [first_arg] [second_arg]
37-
38-
.fi
39-
.RE
29+
.EE
4030

4131

4232
.SH GLOBAL OPTIONS
@@ -80,10 +70,7 @@ retrieve generic information
8070
.PP
8171
standard usage text
8272

83-
.PP
84-
.RS
85-
86-
.nf
73+
.EX
8774
Usage for the usage text
8875
- formatted: Based on the specified ConfigMap and summon secrets.yml
8976
- list: Inspect the environment for a specific process running on a Pod
@@ -94,9 +81,7 @@ func() { ... }
9481
```
9582
9683
Should be a part of the same code block
97-
98-
.fi
99-
.RE
84+
.EE
10085

10186
.PP
10287
\fB--another-flag, -b\fP: another usage text

0 commit comments

Comments
 (0)