Skip to content

⚠️ Bump golang 1.20 => 1.21 #19

⚠️ Bump golang 1.20 => 1.21

⚠️ Bump golang 1.20 => 1.21 #19

Triggered via pull request September 26, 2023 09:52
Status Failure
Total duration 5m 49s
Artifacts

pr-lint.yml

on: pull_request
Lint Pull Request
5m 39s
Lint Pull Request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint Pull Request: pkg/services/hcloud/util/utils.go#L26
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/syself/cluster-api-provider-hetzner) (gci)
Lint Pull Request: pkg/services/hcloud/util/utils.go#L30
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/syself/cluster-api-provider-hetzner) (gci)
Lint Pull Request: pkg/services/hcloud/server/server.go#L471
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/syself/cluster-api-provider-hetzner) (gci)
Lint Pull Request: controllers/hcloudmachinetemplate_controller.go#L25
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/syself/cluster-api-provider-hetzner) (gci)
Lint Pull Request: controllers/hcloudmachinetemplate_controller.go#L42
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/syself/cluster-api-provider-hetzner) (gci)
Lint Pull Request: controllers/hetznerbaremetalmachine_controller_test.go#L25
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/syself/cluster-api-provider-hetzner) (gci)
Lint Pull Request: controllers/hetznerbaremetalmachine_controller_test.go#L40
File is not `gci`-ed with --skip-generated -s standard,default,prefix(github.com/syself/cluster-api-provider-hetzner) (gci)
Lint Pull Request: pkg/services/baremetal/remediation/remediation.go#L58
ineffectual assignment to err (ineffassign)
Lint Pull Request: controllers/hcloudmachine_controller.go#L230
SA1019: util.ClusterToObjectsMapper is deprecated: This function is deprecated and will be removed in a future release, use ClusterToTypedObjectsMapper instead. The problem with this function is that it uses UnstructuredList to retrieve objects, with the default client configuration this will lead to uncached List calls, which is a major performance issue. (staticcheck)
Lint Pull Request: controllers/hetznerbaremetalmachine_controller.go#L226
SA1019: util.ClusterToObjectsMapper is deprecated: This function is deprecated and will be removed in a future release, use ClusterToTypedObjectsMapper instead. The problem with this function is that it uses UnstructuredList to retrieve objects, with the default client configuration this will lead to uncached List calls, which is a major performance issue. (staticcheck)