Skip to content

✨ Enable using setup-envtest without a separate CLI #2818

✨ Enable using setup-envtest without a separate CLI

✨ Enable using setup-envtest without a separate CLI #2818

Triggered via pull request June 14, 2024 08:13
Status Failure
Total duration 2m 9s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/envtest/setup/cleanup/cleanup_test.go#L77
Error return value of `cleanup.Cleanup` is not checked (errcheck)
lint: pkg/envtest/setup/remote/client.go#L14
exported: exported var ErrChecksumMismatch should have comment or be unexported (revive)
lint: pkg/envtest/setup/remote/gcs_client.go#L216
exported: exported method GCSClient.LatestVersion should have comment or be unexported (revive)
lint: pkg/envtest/setup/remote/http_client.go#L176
exported: exported method HTTPClient.LatestVersion should have comment or be unexported (revive)
lint: pkg/envtest/setup/env/env.go#L11
exported: exported const KubebuilderAssetsEnvVar should have comment or be unexported (revive)
lint: pkg/envtest/setup/testhelpers/store.go#L16
exported: exported var LocalVersions should have comment or be unexported (revive)
lint: pkg/envtest/setup/testhelpers/remote.go#L22
exported: exported type Item should have comment or be unexported (revive)
lint: pkg/envtest/setup/env/env.go#L51
SA1019: remote.GCSClient is deprecated: This client is deprecated and will be removed soon. The kubebuilder GCS bucket that we use with this client might be shutdown at any time, see: https://github.com/kubernetes/k8s.io/issues/2647. (staticcheck)
lint: pkg/envtest/setup/env/env.go#L52
SA1019: remote.DefaultBucket is deprecated: Please use the HTTP client and its default options instead (staticcheck)
lint: pkg/envtest/setup/env/env.go#L53
SA1019: remote.DefaultServer is deprecated: Please use the HTTP client and its default options instead (staticcheck)