diff --git a/go.mod b/go.mod index 45b4093..009bea5 100644 --- a/go.mod +++ b/go.mod @@ -1,17 +1,25 @@ module github.com/screwdriver-cd/store-cli -go 1.16 +go 1.19 require ( - github.com/google/go-cmp v0.5.9 // indirect github.com/hashicorp/go-retryablehttp v0.7.1 github.com/karrick/godirwalk v1.16.1 github.com/klauspost/compress v1.11.12 github.com/otiai10/copy v1.0.2 - github.com/pkg/errors v0.9.1 // indirect github.com/urfave/cli v1.22.2 go.uber.org/multierr v1.6.0 go.uber.org/zap v1.16.0 golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 gotest.tools v2.2.0+incompatible ) + +require ( + github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect + github.com/google/go-cmp v0.5.9 // indirect + github.com/hashicorp/go-cleanhttp v0.5.1 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/russross/blackfriday/v2 v2.0.1 // indirect + github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect + go.uber.org/atomic v1.7.0 // indirect +) diff --git a/screwdriver.yaml b/screwdriver.yaml index dde3bf3..568b007 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -1,5 +1,5 @@ shared: - image: golang:1.17 + image: golang:1.19 environment: GO111MODULE: on @@ -11,7 +11,7 @@ jobs: steps: - vet: go vet ./... - gofmt: ret=$(find . -name '*.go' | xargs gofmt -d) && echo "$ret" && test -z "$ret" - - test-setup: go get gotest.tools/gotestsum@latest + - test-setup: go install gotest.tools/gotestsum@latest - test: gotestsum --format testname --jsonfile ${SD_ARTIFACTS_DIR}/report.json -- -coverprofile=${SD_ARTIFACTS_DIR}/coverage.out ./... - build: go build -a -o store-cli - test-release: "curl -sL https://git.io/goreleaser | bash -s -- --snapshot"