Skip to content

Bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0 #124

Bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0

Bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0 #124

Triggered via pull request May 13, 2024 22:01
Status Failure
Total duration 4m 8s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
linux
The copy of the 'for' variable "i" can be deleted (Go 1.22+) (copyloopvar)
linux: pkg/hibp/dump/scanner.go#L315
for loop can be changed to use an integer range (Go 1.22+) (intrange)
linux: pkg/hibp/dump/scanner.go#L335
for loop can be changed to use an integer range (Go 1.22+) (intrange)
linux: pkg/hibp/api/client.go#L21
Magic number: 40, in <condition> detected (mnd)
linux: pkg/hibp/api/client.go#L58
Magic number: 37, in <condition> detected (mnd)
linux: pkg/hibp/api/client.go#L75
Magic number: 10, in <operation> detected (mnd)
linux: pkg/hibp/api/downloader.go#L38
Magic number: 0o755, in <argument> detected (mnd)
linux: pkg/hibp/api/downloader.go#L44
Magic number: 1024, in <operation> detected (mnd)
linux: pkg/hibp/api/downloader.go#L48
Magic number: 4, in <argument> detected (mnd)
linux: pkg/hibp/api/downloader.go#L87
Magic number: 0o644, in <argument> detected (mnd)
macos: pkg/hibp/api/downloader.go#L51
The copy of the 'for' variable "i" can be deleted (Go 1.22+) (copyloopvar)
macos: pkg/hibp/dump/scanner.go#L315
for loop can be changed to use an integer range (Go 1.22+) (intrange)
macos: pkg/hibp/dump/scanner.go#L335
for loop can be changed to use an integer range (Go 1.22+) (intrange)
macos: pkg/hibp/api/client.go#L21
Magic number: 40, in <condition> detected (mnd)
macos: pkg/hibp/api/client.go#L58
Magic number: 37, in <condition> detected (mnd)
macos: pkg/hibp/api/client.go#L75
Magic number: 10, in <operation> detected (mnd)
macos: pkg/hibp/api/downloader.go#L38
Magic number: 0o755, in <argument> detected (mnd)
macos: pkg/hibp/api/downloader.go#L44
Magic number: 1024, in <operation> detected (mnd)
macos: pkg/hibp/api/downloader.go#L48
Magic number: 4, in <argument> detected (mnd)
macos: pkg/hibp/api/downloader.go#L87
Magic number: 0o644, in <argument> detected (mnd)