[release-1.5] 🌱 Bump Go to 1.21.5 #14353
Annotations
12 errors and 5 warnings
lint (test):
test/framework/machinedeployment_helpers.go#L159
G601: Implicit memory aliasing in for loop. (gosec)
|
lint (test)
issues found
|
lint:
exp/runtime/hooks/api/v1alpha1/discovery_types.go#L103
string `Notes:
|
lint:
exp/runtime/hooks/api/v1alpha1/lifecyclehooks_types.go#L207
string `- This hook will be called only for Clusters with a managed topology
|
lint:
util/util_test.go#L369
string `/v1` has 7 occurrences, make it a constant (goconst)
|
lint:
util/yaml/yaml_test.go#L346
string `kind: Secret
|
lint:
util/yaml/yaml_test.go#L344
string `---
|
lint:
util/yaml/yaml_test.go#L333
string `apiVersion: v1
|
lint:
util/yaml/yaml_test.go#L334
string `kind: ConfigMap
|
lint:
util/yaml/yaml_test.go#L396
string `foobar
|
lint:
bootstrap/kubeadm/types/utils_test.go#L164
string `apiServer: {}
|
lint:
bootstrap/kubeadm/types/utils_test.go#L375
string `discovery: {}
|
lint (hack/tools)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753, golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint (test)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753, golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9, actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753, golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
util/version/version.go#L118
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
lint:
cmd/clusterctl/client/move.go#L72
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|