chore(deps): update dependency golangci/golangci-lint to v1.63.4 #379
Annotations
10 errors and 2 warnings
Golang CI lint:
pkg/metrics/metrics_test.go#L60
The copy of the 'for' variable "data" can be deleted (Go 1.22+) (copyloopvar)
|
Golang CI lint:
pkg/providers/fake/fake_test.go#L28
The copy of the 'for' variable "data" can be deleted (Go 1.22+) (copyloopvar)
|
Golang CI lint:
pkg/providers/fake/fake_test.go#L75
The copy of the 'for' variable "data" can be deleted (Go 1.22+) (copyloopvar)
|
Golang CI lint:
pkg/scrapper/scrapper.go#L139
for loop can be changed to use an integer range (Go 1.22+) (intrange)
|
Golang CI lint:
cmd/image-registry-metrics-exporter/main.go#L125
Magic number: 2, in <argument> detected (mnd)
|
Golang CI lint:
cmd/image-registry-metrics-exporter/main.go#L152
Magic number: 0xf, in <argument> detected (mnd)
|
Golang CI lint:
cmd/image-registry-metrics-exporter/main.go#L154
Magic number: 15, in <argument> detected (mnd)
|
Golang CI lint:
cmd/image-registry-metrics-exporter/main.go#L155
Magic number: 15, in <argument> detected (mnd)
|
Golang CI lint:
cmd/image-registry-metrics-exporter/main.go#L73
Magic number: 30, in <operation> detected (mnd)
|
Golang CI lint:
pkg/scrapper/scrapper.go#L135
variable max has same name as predeclared identifier (predeclared)
|
Golang CI lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Golang CI lint
Restore cache failed: Dependencies file is not found in /home/runner/work/image-registry-metrics-exporter/image-registry-metrics-exporter. Supported file pattern: go.sum
|