diff --git a/.drone.yml b/.drone.yml index ec9653a..d2806d0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,12 +1,13 @@ --- kind: pipeline -type: docker +type: kubernetes name: default steps: -- name: go-1.18 - image: golang:1.18 +- name: build and test + image: golang:1.21 commands: + - go env -w GOFLAGS="-buildvcs=false" - go install honnef.co/go/tools/cmd/staticcheck@latest - go build ./... - go vet ./... diff --git a/go.mod b/go.mod index 1dfa985..04de986 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.netflux.io/rob/envfilesubst go 1.18 require ( - github.com/hashicorp/go-envparse v0.0.0-20200406174449-d9cfd743a15e + github.com/hashicorp/go-envparse v0.1.0 github.com/stretchr/testify v1.7.1 ) diff --git a/go.sum b/go.sum index a6a3a3d..2c1cfd6 100644 --- a/go.sum +++ b/go.sum @@ -2,6 +2,8 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/hashicorp/go-envparse v0.0.0-20200406174449-d9cfd743a15e h1:v1d9+AJMP6i4p8BSKNU0InuvmIAdZjQLNN19V86AG4Q= github.com/hashicorp/go-envparse v0.0.0-20200406174449-d9cfd743a15e/go.mod h1:/NlxCzN2D4C4L2uDE6ux/h6jM+n98VFQM14nnCIfHJU= +github.com/hashicorp/go-envparse v0.1.0 h1:bE++6bhIsNCPLvgDZkYqo3nA+/PFI51pkrHdmPSDFPY= +github.com/hashicorp/go-envparse v0.1.0/go.mod h1:OHheN1GoygLlAkTlXLXvAdnXdZxy8JUweQ1rAXx1xnc= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=