fix: lint #787
Annotations
20 errors and 2 warnings
|
|
|
|
|
|
|
|
|
|
pkg/controllers/report/resource/controller.go#L225
cannot infer T (/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/sets/set.go:206:11) (typecheck)
|
pkg/engine/validation.go#L12
could not import github.com/kyverno/kyverno/pkg/engine/handlers/validation (-: # github.com/kyverno/kyverno/pkg/engine/handlers/validation
|
pkg/engine/handlers/validation/utils.go#L6
kyvernov1beta1 redeclared in this block
|
pkg/engine/handlers/validation/utils.go#L5
other declaration of kyvernov1beta1
|
pkg/engine/handlers/validation/utils.go#L6
"github.com/kyverno/kyverno/api/kyverno/v1beta1" imported as kyvernov1beta1 and not used) (typecheck)
|
pkg/engine/handlers/validation/utils.go#L1
: # github.com/kyverno/kyverno/pkg/engine/handlers/validation [github.com/kyverno/kyverno/pkg/engine/handlers/validation.test]
|
pkg/engine/handlers/validation/utils.go#L6
kyvernov1beta1 redeclared in this block
|
pkg/engine/handlers/validation/utils.go#L5
other declaration of kyvernov1beta1
|
pkg/engine/handlers/validation/utils.go#L6
"github.com/kyverno/kyverno/api/kyverno/v1beta1" imported as kyvernov1beta1 and not used (typecheck)
|
pkg/utils/conditions/condition.go#L40
unnecessary conversion (unconvert)
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3, actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@4723a57e26efda3a62cbde1812113b730952852d, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading