feat: migrate from libcompose to compose-go (#1547)
* feat: migrate from libcompose to compose-go libcompose has been deprecated since summer 2021 in favor of https://github.com/compose-spec/compose-go. Kompose should now be able to load all versions of compose. * chore: replace golint with staticcheck golint has been deprecated. Recommended replacement is staticcheck.
This commit is contained in:
@@ -91,15 +91,15 @@ gen-cmd:
|
||||
|
||||
# run all validation tests
|
||||
.PHONY: validate
|
||||
validate: gofmt vet lint
|
||||
validate: gofmt vet staticcheck
|
||||
|
||||
.PHONY: vet
|
||||
vet:
|
||||
go vet ./pkg/...
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
golint ./pkg/...
|
||||
.PHONY: staticcheck
|
||||
staticcheck:
|
||||
staticcheck ./pkg/...
|
||||
|
||||
.PHONY: gofmt
|
||||
gofmt:
|
||||
@@ -114,7 +114,7 @@ test: bin test-dep validate test-unit-cover install test-cmd
|
||||
test-dep:
|
||||
go install github.com/mattn/goveralls@latest
|
||||
go install github.com/modocache/gover@latest
|
||||
go install golang.org/x/lint/golint@latest
|
||||
go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
go install github.com/mitchellh/gox@latest
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user