File tree Expand file tree Collapse file tree 3 files changed +13
-20
lines changed
Expand file tree Collapse file tree 3 files changed +13
-20
lines changed Original file line number Diff line number Diff line change 44 test :
55 strategy :
66 matrix :
7- go-version : [1.14 .x]
7+ go-version : [1.19 .x]
88 platform : [ubuntu-latest, macos-latest]
99 runs-on : ${{ matrix.platform }}
1010 steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v3
1113 - name : Install Go
12- uses : actions/setup-go@v1
14+ uses : actions/setup-go@v4
1315 with :
1416 go-version : ${{ matrix.go-version }}
15- - name : setup env
16- run : |
17- echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
18- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
19- shell : bash
20- - name : Checkout code
21- uses : actions/checkout@v2
22- - name : cache
23- uses : actions/cache@v1
24- with :
25- path : ~/go/pkg/mod
26- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
27- restore-keys : |
28- ${{ runner.os }}-go-
2917 - name : Run test code
3018 run : go test ./...
19+ - name : Build
20+ run : go build
Original file line number Diff line number Diff line change 11module github.com/uchiiii/csv2md
22
3- go 1.13
3+ go 1.19
44
55require github.com/urfave/cli/v2 v2.2.0
6+
7+ require (
8+ github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
9+ github.com/russross/blackfriday/v2 v2.0.1 // indirect
10+ github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
11+ )
Original file line number Diff line number Diff line change 1- github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ =
21github.com/BurntSushi/toml v0.3.1 /go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU =
32github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY =
43github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d /go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU =
@@ -10,7 +9,5 @@ github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5I
109github.com/shurcooL/sanitized_anchor_name v1.0.0 /go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc =
1110github.com/urfave/cli/v2 v2.2.0 h1:JTTnM6wKzdA0Jqodd966MVj4vWbbquZykeX1sKbe2C4 =
1211github.com/urfave/cli/v2 v2.2.0 /go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ =
13- gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
1412gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
15- gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw =
1613gopkg.in/yaml.v2 v2.2.2 /go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI =
You can’t perform that action at this time.
0 commit comments