Skip to content

chore(deps): update dependency golangci/golangci-lint to v1.62.2 #394

chore(deps): update dependency golangci/golangci-lint to v1.62.2

chore(deps): update dependency golangci/golangci-lint to v1.62.2 #394

Triggered via pull request November 25, 2024 18:07
Status Failure
Total duration 39s
Artifacts

lint.golang.yml

on: pull_request
Golang CI lint
28s
Golang CI lint
Fit to window
Zoom out
Zoom in

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