Skip to content

Upgrade to go 1.22 #1423

Upgrade to go 1.22

Upgrade to go 1.22 #1423

Triggered via pull request March 1, 2024 19:31
Status Failure
Total duration 1m 41s
Artifacts

lint.yml

on: pull_request
runner / golangci-lint
1m 32s
runner / golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
runner / golangci-lint
issues found
runner / golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
runner / golangci-lint
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/
runner / golangci-lint
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/
runner / golangci-lint: server/legacy/http/request.go#L56
redefines-builtin-id: redefinition of the built-in function copy (revive)
runner / golangci-lint: server/legacy/events/vcs/common/common_test.go#L22
dot-imports: should not use dot imports (revive)
runner / golangci-lint: server/legacy/core/terraform/cloud/config_test.go#L9
dot-imports: should not use dot imports (revive)
runner / golangci-lint: server/legacy/core/runtime/cache/version_path_test.go#L62
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
runner / golangci-lint: server/legacy/core/runtime/cache/version_path_test.go#L88
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
runner / golangci-lint: server/legacy/core/runtime/cache/local.go#L21
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
runner / golangci-lint: server/legacy/core/runtime/cache/version_path_test.go#L9
dot-imports: should not use dot imports (revive)
runner / golangci-lint: server/legacy/controllers/websocket/writer.go#L14
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)