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:
Lctrs
2023-01-12 15:17:22 -05:00
committed by GitHub
parent 7304bb6013
commit 2ad5745d58
57 changed files with 1407 additions and 1867 deletions
+5 -5
View File
@@ -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