File tree 4 files changed +54
-19
lines changed
4 files changed +54
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+ jobs :
9
+ build :
10
+ strategy :
11
+ matrix :
12
+ go : ['1.14']
13
+ os : [ubuntu-latest, macos-latest, windows-latest]
14
+ runs-on : ${{ matrix.os }}
15
+ steps :
16
+ - name : Setup
17
+ uses : actions/setup-go@v2
18
+ with :
19
+ go-version : ${{ matrix.go }}
20
+
21
+ - name : Checkout
22
+ uses : actions/checkout@v2
23
+
24
+ - name : Dependencies
25
+ run : |
26
+ go version
27
+ go get -v -t -d ./...
28
+ go get -u golang.org/x/lint/golint
29
+
30
+ - name : Lint
31
+ run : golint -set_exit_status=1 ./...
32
+
33
+ - name : Vet
34
+ run : go vet ./...
35
+
36
+ - name : Test
37
+ run : go test -v -coverprofile=coverage.txt -covermode=atomic ./...
38
+
39
+ - name : Coverage
40
+ uses : codecov/codecov-action@v1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
module github.com/adrg/xdg
2
+
3
+ go 1.14
4
+
5
+ require github.com/stretchr/testify v1.6.1
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 =
3
+ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
4
+ github.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.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0 =
7
+ github.com/stretchr/testify v1.6.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
8
+ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
9
+ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo =
10
+ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
You can’t perform that action at this time.
0 commit comments