File tree Expand file tree Collapse file tree 6 files changed +66
-17
lines changed
Expand file tree Collapse file tree 6 files changed +66
-17
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ ci :
11+
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Set up Go
17+ uses : actions/setup-go@v5
18+ with :
19+ go-version : stable
20+
21+ - name : Test
22+ run : go test -timeout 60s -v ./...
23+
24+ - name : golangci-lint
25+ uses : golangci/golangci-lint-action@v6
26+ with :
27+ version : v1.59
Original file line number Diff line number Diff line change 1+ on :
2+ release :
3+ types : [created]
4+
5+ permissions :
6+ contents : write
7+ packages : write
8+
9+ jobs :
10+ release-go-binary :
11+ name : release Go Binary
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ goos : [linux, darwin]
16+ goarch : [amd64, arm64]
17+ steps :
18+ - uses : actions/checkout@v6
19+ - uses : wangyoucao577/go-release-action@v1
20+ with :
21+ github_token : ${{ secrets.GITHUB_TOKEN }}
22+ goos : ${{ matrix.goos }}
23+ goarch : ${{ matrix.goarch }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33
44Converts a stream of newline separated json data to csv format.
55
6- [ ![ Build Status] ( https://travis-ci.org/jehiah/json2csv.png?branch=master )] ( https://travis-ci.org/jehiah/json2csv ) [ ![ GitHub release] ( https://img.shields.io/github/release/jehiah/json2csv.svg )] ( https://github.com/jehiah/json2csv/releases/latest )
6+ ![ Build Status] ( https://github.com/jehiah/json2csv/actions/workflows/ci.yaml/badge.svg?branch=master )
7+ [ ![ GitHub release] ( https://img.shields.io/github/release/jehiah/json2csv.svg )] ( https://github.com/jehiah/json2csv/releases/latest )
78
89
910Installation
Original file line number Diff line number Diff line change 11module github.com/jehiah/json2csv
22
3- go 1.13
3+ go 1.20
44
5- require github.com/stretchr/testify v1.4.0
5+ require github.com/stretchr/testify v1.11.1
6+
7+ require (
8+ github.com/davecgh/go-spew v1.1.1 // indirect
9+ github.com/pmezard/go-difflib v1.0.0 // indirect
10+ gopkg.in/yaml.v3 v3.0.1 // indirect
11+ )
Original file line number Diff line number Diff line change 1- github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8 =
2- github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
1+ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
2+ github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
33github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
44github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
5- github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
6- github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk =
7- github.com/stretchr/testify v1.4.0 /go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4 =
5+ github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U =
6+ github.com/stretchr/testify v1.11.1 /go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U =
87gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
98gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
10- gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw =
11- gopkg.in/yaml.v2 v2.2.2 /go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI =
9+ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
10+ gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
You can’t perform that action at this time.
0 commit comments