Skip to content

Enable if-return linter check and fix issues for Kubebuilder CLI #2985

Enable if-return linter check and fix issues for Kubebuilder CLI

Enable if-return linter check and fix issues for Kubebuilder CLI #2985

Triggered via push January 1, 2025 09:59
Status Failure
Total duration 35s
Artifacts

lint.yml

on: push
golangci-lint
27s
golangci-lint
yamllint
7s
yamllint
Fit to window
Zoom out
Zoom in

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