feat: new workload plugin version and controller-gen logic #202
Annotations
10 errors and 2 warnings
internal/controllergen/controllergen.go#L45
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no generators specified\")" (goerr113)
|
internal/controllergen/controllergen.go#L51
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"not all generators ran successfully\")" (goerr113)
|
internal/plugins/workload/v2/scaffolds/templates/hack/boilerplate.go#L95
knownLicenses is a global variable (gochecknoglobals)
|
internal/plugins/workload/v2/scaffolds/templates/hack/boilerplate.go#L45
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unknown specified license %s\", f.License)" (goerr113)
|
internal/plugins/workload/v2/scaffolds/api.go#L113
Function 'scaffoldWorkload' is too long (107 > 100) (funlen)
|
internal/plugins/workload/v2/scaffolds/templates/controller/controller_suitetest.go#L102
mnd: Magic number: 2, in <argument> detected (gomnd)
|
internal/plugins/workload/v2/init.go#L30
goVerMin is a global variable (gochecknoglobals)
|
internal/plugins/workload/v2/init.go#L31
goVerMax is a global variable (gochecknoglobals)
|
internal/plugins/workload/v2/api.go#L128
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"API resource already exists\")" (goerr113)
|
internal/plugins/workload/v2/api.go#L133
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"multiple groups are not allowed by default, \" +\n\t\"to enable multi-group visit https://kubebuilder.io/migration/multi-group.html\")" (goerr113)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
|
This job failed
Loading