Skip to content

Merge pull request #68 from gopasspw/dependabot/github_actions/gorele… #127

Merge pull request #68 from gopasspw/dependabot/github_actions/gorele…

Merge pull request #68 from gopasspw/dependabot/github_actions/gorele… #127

Triggered via push May 14, 2024 11:38
Status Failure
Total duration 3m 42s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors
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)
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)