File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 11module github.com/tk3fftk/sdctl
22
3+ go 1.17
4+
5+ require (
6+ github.com/google/go-cmp v0.5.5
7+ github.com/spf13/cobra v1.2.1
8+ gopkg.in/yaml.v2 v2.4.0
9+ )
10+
311require (
4- github.com/google/go-cmp v0.3.0
5- github.com/spf13/cobra v0.0.5
6- gopkg.in/yaml.v2 v2.2.2
12+ github.com/inconshreveable/mousetrap v1.0.0 // indirect
13+ github.com/spf13/pflag v1.0.5 // indirect
714)
Original file line number Diff line number Diff line change 11shared :
2- image : golang:1.12.3
2+ image : golang:1.17
33 environment :
44 GO111MODULE : on
55
99 environment :
1010 SD_SONAR_OPTS : " -Dsonar.sources=./ -Dsonar.exclusions=**/*_test.go,**/sonar-scanner*/** -Dsonar.go.coverage.reportPaths=/sd/workspace/artifacts/coverage.out"
1111 steps :
12+ - go_mod : |
13+ go mod download
14+ go mod tidy
1215 - go_vet : go vet ./...
1316 - gofmt : (! gofmt -s -d . | grep '^')
1417 - test : go test ./... -coverprofile=${SD_ARTIFACTS_DIR}/coverage.out -cover -v
You can’t perform that action at this time.
0 commit comments