Skip to content

Restructure modules #1276

Restructure modules

Restructure modules #1276

Triggered via pull request August 9, 2024 12:54
Status Failure
Total duration 4m 57s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Linter: base/container/container_test.go#L32
for loop can be changed to use an integer range (Go 1.22+) (intrange)
Linter: base/container/container_test.go#L51
for loop can be changed to use an integer range (Go 1.22+) (intrange)
Linter: base/container/container_test.go#L64
for loop can be changed to use an integer range (Go 1.22+) (intrange)
Linter: base/utils/stablepool_test.go#L36
The copy of the 'for' variable "j" can be deleted (Go 1.22+) (copyloopvar)
Linter: base/utils/stablepool_test.go#L87
The copy of the 'for' variable "i" can be deleted (Go 1.22+) (copyloopvar)
Linter: base/utils/renameio/tempfile_linux_test.go#L99
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
Linter: base/log/output.go#L170
naked return in func `writer` with 98 lines of code (nakedret)
Linter: base/log/output.go#L179
naked return in func `writer` with 98 lines of code (nakedret)
Linter: base/log/output.go#L226
naked return in func `writer` with 98 lines of code (nakedret)
Linter: service/status/status.go#L89
The copy of the 'for' variable "v" can be deleted (Go 1.22+) (copyloopvar)
Test & Build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/