Skip to content

Upgrade golangci-lint to v1.64.5 #27518

Upgrade golangci-lint to v1.64.5

Upgrade golangci-lint to v1.64.5 #27518

Triggered via pull request February 20, 2025 09:46
Status Cancelled
Total duration 12m 16s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors
lint-backend: cmd/hook_test.go#L18
context.Background() could be replaced by t.Context() in TestPktLine (usetesting)
lint-backend: cmd/migrate_storage_test.go#L56
context.Background() could be replaced by t.Context() in TestMigratePackages (usetesting)
lint-backend: models/issues/issue_test.go#L329
context.TODO() could be replaced by t.Context() in TestCorrectIssueStats (usetesting)
lint-backend: models/renderhelper/repo_comment_test.go#L24
context.Background() could be replaced by t.Context() in TestRepoComment (usetesting)
lint-backend: models/renderhelper/repo_comment_test.go#L39
context.Background() could be replaced by t.Context() in TestRepoComment (usetesting)
lint-backend: models/renderhelper/repo_comment_test.go#L59
context.Background() could be replaced by t.Context() in TestRepoComment (usetesting)
lint-backend: models/renderhelper/repo_file_test.go#L25
context.Background() could be replaced by t.Context() in TestRepoFile (usetesting)
lint-backend: models/renderhelper/repo_file_test.go#L40
context.Background() could be replaced by t.Context() in TestRepoFile (usetesting)
lint-backend: models/renderhelper/repo_file_test.go#L58
context.Background() could be replaced by t.Context() in TestRepoFile (usetesting)
lint-backend: models/renderhelper/repo_file_test.go#L71
context.Background() could be replaced by t.Context() in TestRepoFile (usetesting)
lint-go-gogit: cmd/hook_test.go#L18
context.Background() could be replaced by t.Context() in TestPktLine (usetesting)
lint-go-gogit: cmd/migrate_storage_test.go#L56
context.Background() could be replaced by t.Context() in TestMigratePackages (usetesting)
lint-go-gogit: models/issues/issue_test.go#L329
context.TODO() could be replaced by t.Context() in TestCorrectIssueStats (usetesting)
lint-go-gogit: models/renderhelper/repo_comment_test.go#L24
context.Background() could be replaced by t.Context() in TestRepoComment (usetesting)
lint-go-gogit: models/renderhelper/repo_comment_test.go#L39
context.Background() could be replaced by t.Context() in TestRepoComment (usetesting)
lint-go-gogit: models/renderhelper/repo_comment_test.go#L59
context.Background() could be replaced by t.Context() in TestRepoComment (usetesting)
lint-go-gogit: models/renderhelper/repo_file_test.go#L25
context.Background() could be replaced by t.Context() in TestRepoFile (usetesting)
lint-go-gogit: models/renderhelper/repo_file_test.go#L40
context.Background() could be replaced by t.Context() in TestRepoFile (usetesting)
lint-go-gogit: models/renderhelper/repo_file_test.go#L58
context.Background() could be replaced by t.Context() in TestRepoFile (usetesting)
lint-go-gogit: models/renderhelper/repo_file_test.go#L71
context.Background() could be replaced by t.Context() in TestRepoFile (usetesting)
lint-go-windows
Canceling since a higher priority waiting request for 'compliance-fix-golintci' exists
lint-go-windows
The operation was canceled.