add custom env #404
Annotations
10 errors and 9 warnings
Run golangci/golangci-lint-action@v2:
pkg/api/client.go#L70
only one cuddle assignment allowed before if statement (wsl)
|
Run golangci/golangci-lint-action@v2:
pkg/api/client.go#L69
assignments should only be cuddled with other assignments (wsl)
|
Run golangci/golangci-lint-action@v2:
pkg/web/web_test.go#L36
fmt.Sprintf can be replaced with string concatenation (perfsprint)
|
Run golangci/golangci-lint-action@v2:
pkg/web/web_test.go#L64
fmt.Sprintf can be replaced with string concatenation (perfsprint)
|
Run golangci/golangci-lint-action@v2:
pkg/web/web_test.go#L92
fmt.Sprintf can be replaced with string concatenation (perfsprint)
|
Run golangci/golangci-lint-action@v2:
pkg/controlplane/callbacks.go#L75
assignments should only be cuddled with other assignments (wsl)
|
Run golangci/golangci-lint-action@v2:
pkg/controlplane/callbacks.go#L136
assignments should only be cuddled with other assignments (wsl)
|
Run golangci/golangci-lint-action@v2:
pkg/certs/certs_test.go#L28
directive `//nolint:dogsled,ifshort` is unused for linter "ifshort" (nolintlint)
|
Run golangci/golangci-lint-action@v2:
pkg/config/configType.go#L49
directive `//nolint: golint,revive` is unused for linter "golint" (nolintlint)
|
Run golangci/golangci-lint-action@v2
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run golangci/golangci-lint-action@v2
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run golangci/golangci-lint-action@v2
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run golangci/golangci-lint-action@v2:
internal/internal.go#L83
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci/golangci-lint-action@v2:
internal/internal.go#L97
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci/golangci-lint-action@v2:
internal/internal.go#L121
unused-parameter: parameter 'k' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci/golangci-lint-action@v2:
pkg/api/informers.go#L83
unused-parameter: parameter 'oldObj' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci/golangci-lint-action@v2:
pkg/api/informers.go#L180
unused-parameter: parameter 'old' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading