Skip to content

Commit 2421d23

Browse files
authored
Merge pull request #1886 from urfave/v1-upgrades
Bump dependencies, tested go versions, and actions steps for v1
2 parents f5ca62f + 4df8f14 commit 2421d23

File tree

4 files changed

+14
-22
lines changed

4 files changed

+14
-22
lines changed

.github/workflows/cli.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
18-
go: [1.19.x, 1.20.x]
18+
go: [1.21.x, 1.22.x]
1919
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
2020
runs-on: ${{ matrix.os }}
2121
steps:
2222
- name: Set up Go ${{ matrix.go }}
23-
uses: actions/setup-go@v3
23+
uses: actions/setup-go@v5
2424
with:
2525
go-version: ${{ matrix.go }}
2626

2727
- name: Checkout Code
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929

3030
- name: Install Dependencies
3131
run: npm install markdown-toc

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.11
44

55
require (
66
github.com/BurntSushi/toml v1.3.2
7-
github.com/cpuguy83/go-md2man/v2 v2.0.2
8-
github.com/stretchr/testify v1.8.4
7+
github.com/cpuguy83/go-md2man/v2 v2.0.4
8+
github.com/stretchr/testify v1.9.0
99
gopkg.in/yaml.v2 v2.4.0
1010
)

go.sum

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
66
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
77
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -12,10 +12,12 @@ github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD
1212
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
1313
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
1414
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
15+
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
1516
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
1617
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
17-
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
1818
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
19+
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
20+
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
1921
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
2022
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2123
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=

testdata/expected-doc-full.man

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,11 @@ greet - Some app
1212
.PP
1313
greet
1414

15-
.PP
16-
.RS
17-
18-
.nf
15+
.EX
1916
[--another-flag|-b]
2017
[--flag|--fl|-f]=[value]
2118
[--socket|-s]=[value]
22-
23-
.fi
24-
.RE
19+
.EE
2520

2621

2722
.SH DESCRIPTION
@@ -31,14 +26,9 @@ app [first_arg] [second_arg]
3126
.PP
3227
\fBUsage\fP:
3328

34-
.PP
35-
.RS
36-
37-
.nf
29+
.EX
3830
greet [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]
39-
40-
.fi
41-
.RE
31+
.EE
4232

4333

4434
.SH GLOBAL OPTIONS

0 commit comments

Comments
 (0)