Skip to content

feat: new workload plugin version and controller-gen logic #199

feat: new workload plugin version and controller-gen logic

feat: new workload plugin version and controller-gen logic #199

Triggered via pull request July 2, 2024 21:52
Status Failure
Total duration 1m 29s
Artifacts

check.yaml

on: pull_request
Check Latest Commit Message
0s
Check Latest Commit Message
Check Commit Messages
5s
Check Commit Messages
Check Pull Request Title
6s
Check Pull Request Title
DCO Check
2s
DCO Check
Check License Lines
21s
Check License Lines
Lint
1m 19s
Lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
Lint: internal/plugins/workload/v2/scaffolds/api.go#L113
Function 'scaffoldWorkload' is too long (107 > 100) (funlen)
Lint: internal/plugins/workload/v2/scaffolds/templates/hack/boilerplate.go#L95
knownLicenses is a global variable (gochecknoglobals)
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/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#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/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)
Lint: internal/plugins/workload/v2/api.go#L161
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%s file should present in the root directory\", utils.DefaultMainPath)" (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 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/
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/
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