Meshery Operator is a Kubernetes Operator that deploys and manages the lifecycle of two Meshery components critical to Meshery's operations of Kubernetes clusters
The CI only using golangci-lint to check the code. However, I found in some repo although the CI is passed, the go mod tidy still has issues. So, the project would not build or be failed to build. Like: https://github.com/meshery/meshkit/pull/396
Desired Behavior
So, here.
We enable golangci-lint check the go mod status, also add -v to let it output more detail than before
golangci-lint should be triggered through Makefile
Current Behavior
The CI only using golangci-lint to check the code. However, I found in some repo although the CI is passed, the
go mod tidy
still has issues. So, the project would not build or be failed to build. Like: https://github.com/meshery/meshkit/pull/396Desired Behavior
So, here.
golangci-lint
check the go mod status, also add -v to let it output more detail than beforego mod tidy
directly in CI bymake tidy
go test
also run though the MakefileImplementation
Acceptance Tests
Contributor Guides and Resources