chore: upgrade to Go 1.21
continuous-integration/drone Build is passing Details

This commit is contained in:
Rob Watson 2023-09-12 21:04:53 +02:00
parent c0f362d9bb
commit ae9192f12f
3 changed files with 7 additions and 4 deletions

View File

@ -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 ./...

2
go.mod
View File

@ -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
)

2
go.sum
View File

@ -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=