feat: new workload plugin version and controller-gen logic #202
check.yaml
on: pull_request
Check Latest Commit Message
0s
Check Commit Messages
7s
Check Pull Request Title
4s
DCO Check
2s
Check License Lines
17s
Lint
20s
Annotations
10 errors and 8 warnings
Lint:
internal/controllergen/controllergen.go#L45
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no generators specified\")" (goerr113)
|
Lint:
internal/controllergen/controllergen.go#L51
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"not all generators ran successfully\")" (goerr113)
|
Lint:
internal/plugins/workload/v2/scaffolds/templates/hack/boilerplate.go#L95
knownLicenses is a global variable (gochecknoglobals)
|
Lint:
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)
|
Lint:
internal/plugins/workload/v2/scaffolds/api.go#L113
Function 'scaffoldWorkload' is too long (107 > 100) (funlen)
|
Lint:
internal/plugins/workload/v2/scaffolds/templates/controller/controller_suitetest.go#L102
mnd: Magic number: 2, in <argument> detected (gomnd)
|
Lint:
internal/plugins/workload/v2/init.go#L30
goVerMin is a global variable (gochecknoglobals)
|
Lint:
internal/plugins/workload/v2/init.go#L31
goVerMax is a global variable (gochecknoglobals)
|
Lint:
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)
|
Lint:
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)
|
DCO Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: tim-actions/get-pr-commits@master, tim-actions/dco@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
DCO Check
The following actions uses node12 which is deprecated and will be forced to run on node16: tim-actions/dco@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check Pull Request Title
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: deepakputhraya/action-pr-title@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check Pull Request Title
The following actions uses node12 which is deprecated and will be forced to run on node16: deepakputhraya/action-pr-title@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check Commit Messages
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: tim-actions/get-pr-commits@master, tim-actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check Commit Messages
The following actions uses node12 which is deprecated and will be forced to run on node16: tim-actions/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
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/.
|
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/operator-builder/operator-builder. Supported file pattern: go.sum
|