Skip to content

Have PackageVariant set readiness gate on PackageRevisions #21

Have PackageVariant set readiness gate on PackageRevisions

Have PackageVariant set readiness gate on PackageRevisions #21

Triggered via pull request December 12, 2024 16:54
Status Success
Total duration 52s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/kpt/errors/errors.go#L195
printf: non-constant format string in call to fmt.Errorf (govet)
lint: pkg/tokenexchange/gcptokensource/gcptokensource.go#L73
SA1019: ptypes.Timestamp is deprecated: Call the ts.AsTime and ts.CheckValid methods instead. (staticcheck)
lint: pkg/tokenexchange/gcptokensource/gcptokensource.go#L23
SA1019: "github.com/golang/protobuf/ptypes" is deprecated: Well-known types have specialized functionality directly injected into the generated packages for each message type. See the deprecation notice for each function for the suggested alternative. (staticcheck)
lint: pkg/tokenexchange/gcptokensource/gcptokensource.go#L26
SA1019: "google.golang.org/genproto/googleapis/iam/credentials/v1" is deprecated: Please use types in: cloud.google.com/go/iam/credentials/apiv1/credentialspb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details. (staticcheck)
lint: pkg/kpt/internal/set-labels.go#L41
Error return value of `n.SetLabels` is not checked (errcheck)
lint: pkg/kpt/internal/set-namespace.go#L44
Error return value of `n.SetNamespace` is not checked (errcheck)
lint: func/client/main.go#L95
SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
lint: pkg/cli/commands/rpkg/util/common.go#L82
Error return value of `kptMetaDataKo.SetAPIVersion` is not checked (errcheck)
lint: pkg/cli/commands/rpkg/util/common.go#L83
Error return value of `kptMetaDataKo.SetKind` is not checked (errcheck)
lint: func/internal/podevaluator_podmanager_test.go#L44
Error return value of `server.Serve` is not checked (errcheck)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636