chore(deps): update dependency golangci/golangci-lint to v1.62.2 #394
Annotations
10 errors and 1 warning
Golang CI lint:
pkg/gitlab/job_event_test.go#L37
The copy of the 'for' variable "tcase" can be deleted (Go 1.22+) (copyloopvar)
|
Golang CI lint:
pkg/gitlab/job_event_test.go#L68
The copy of the 'for' variable "tcase" can be deleted (Go 1.22+) (copyloopvar)
|
Golang CI lint:
pkg/gitlab/job_event_test.go#L99
The copy of the 'for' variable "tcase" can be deleted (Go 1.22+) (copyloopvar)
|
Golang CI lint:
cmd/gitlab-ci-pipelines-exporter/main.go#L69
Magic number: 2, in <argument> detected (mnd)
|
Golang CI lint:
cmd/gitlab-ci-pipelines-exporter/main.go#L159
Magic number: 5, in <argument> detected (mnd)
|
Golang CI lint:
cmd/gitlab-ci-pipelines-exporter/main.go#L117
Magic number: 30, in <operation> detected (mnd)
|
Golang CI lint:
cmd/gitlab-ci-pipelines-exporter/main.go#L87
Magic number: 100, in <assign> detected (mnd)
|
Golang CI lint:
cmd/gitlab-ci-pipelines-exporter/main.go#L88
Magic number: 100, in <assign> detected (mnd)
|
Golang CI lint:
pkg/webhook/handlers.go#L9
Magic number: 0., in <assign> detected (mnd)
|
Golang CI lint:
pkg/http/middlewares_test.go#L108
encoded-compare: use assert.JSONEq (testifylint)
|
Golang CI lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gitlab-ci-pipelines-exporter/gitlab-ci-pipelines-exporter. Supported file pattern: go.sum
|