Merge pull request #1 from pelotech/assorted-cleanups
Assorted cleanups
This commit is contained in:
commit
c08b2035a8
|
@ -9,8 +9,10 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- go test ./cmd/... ./internal/...
|
- go test ./cmd/... ./internal/...
|
||||||
- go vet ./cmd/... ./internal/...
|
- go vet ./cmd/... ./internal/...
|
||||||
- go get -u golang.org/x/lint/golint
|
- name: lint
|
||||||
- golint ./cmd/... ./internal/...
|
image: cytopia/golint
|
||||||
|
commands:
|
||||||
|
- golint -set_exit_status ./cmd/... ./internal/...
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.13
|
image: golang:1.13
|
||||||
commands:
|
commands:
|
||||||
|
|
|
@ -19,8 +19,8 @@ func main() {
|
||||||
// Make the plan
|
// Make the plan
|
||||||
plan, err := helm.NewPlan(c)
|
plan, err := helm.NewPlan(c)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, err.Error())
|
fmt.Fprintf(os.Stderr, "%w\n", err)
|
||||||
return
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Execute the plan
|
// Execute the plan
|
||||||
|
|
Loading…
Reference in a new issue