Upgrade to go 1.22 #1422
lint.yml
on: pull_request
runner / golangci-lint
1m 31s
Annotations
6 errors and 11 warnings
runner / golangci-lint:
server/legacy/events/vcs/fixtures/fixtures.go#L63
G101: Potential hardcoded credentials: RSA private key (gosec)
|
runner / golangci-lint:
server/legacy/events/vcs/fixtures/fixtures.go#L93
G101: Potential hardcoded credentials: Generic Secret (gosec)
|
runner / golangci-lint:
server/legacy/events/project_command_builder_test.go#L432
G601: Implicit memory aliasing in for loop. (gosec)
|
runner / golangci-lint:
server/legacy/events/project_command_builder_test.go#L434
G601: Implicit memory aliasing in for loop. (gosec)
|
runner / golangci-lint:
server/legacy/events/stale_command_handler_test.go#L47
G601: Implicit memory aliasing in for loop. (gosec)
|
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/golangci-lint-action@v3.2.0. 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/core/terraform/cloud/config_test.go#L9
dot-imports: should not use dot imports (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/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#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/version_path_test.go#L9
dot-imports: should not use dot imports (revive)
|
runner / golangci-lint:
server/neptune/sync/scheduler.go#L26
unused-parameter: parameter 'logger' seems to be unused, consider removing or renaming it as _ (revive)
|