diff --git a/.drone.yml b/.drone.yml index 5ccfcc5..b37eba8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,8 +7,10 @@ steps: - name: test image: golang:1.13 commands: - - go vet ./... - - go test ./... + - go test ./cmd/... ./internal/... + - go vet ./cmd/... ./internal/... + - go get -u golang.org/x/lint/golint + - golint ./cmd/... ./internal/... - name: build image: golang:1.13 commands: diff --git a/go.mod b/go.mod index c060a9c..4f4371b 100644 --- a/go.mod +++ b/go.mod @@ -7,5 +7,5 @@ require ( github.com/kelseyhightower/envconfig v1.4.0 github.com/stretchr/testify v1.4.0 golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect - golang.org/x/tools v0.0.0-20191206204035-259af5ff87bd // indirect + golang.org/x/tools v0.0.0-20191209225234-22774f7dae43 // indirect ) diff --git a/go.sum b/go.sum index f8cbd31..c0d66c9 100644 --- a/go.sum +++ b/go.sum @@ -23,6 +23,8 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f h1:kDxGY2VmgABOe55qheT/TFq golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191206204035-259af5ff87bd h1:Zc7EU2PqpsNeIfOoVA7hvQX4cS3YDJEs5KlfatT3hLo= golang.org/x/tools v0.0.0-20191206204035-259af5ff87bd/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191209225234-22774f7dae43 h1:NfPq5mgc5ArFgVLCpeS4z07IoxSAqVfV/gQ5vxdgaxI= +golang.org/x/tools v0.0.0-20191209225234-22774f7dae43/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=