Enable if-return linter check and fix issues for Kubebuilder CLI #2985
lint.yml
on: push
golangci-lint
27s
yamllint
7s
Annotations
2 errors and 3 warnings
golangci-lint:
pkg/plugins/golang/deploy-image/v1alpha1/api.go#L215
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
golangci-lint
issues found
|
yamllint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
golangci-lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|