Skip to content

feat: use logr

feat: use logr #316

Triggered via pull request August 31, 2023 12:35
@Leonard-DellLeonard-Dell
synchronize #152
logr
Status Failure
Total duration 4m 24s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

development.yaml

on: pull_request
golangci-lint
27s
golangci-lint
Malware Scanner
1m 25s
Malware Scanner
Check for forbidden words
11s
Check for forbidden words
Run Hadolint Dockerfile lint
10s
Run Hadolint Dockerfile lint
Run Shellcheck, Checkmake and Perl Critic
18s
Run Shellcheck, Checkmake and Perl Critic
Run unit tests and check package coverage
4m 12s
Run unit tests and check package coverage
Build and Scan Docker image
1m 32s
Build and Scan Docker image
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: cmd/main.go#L40
mnd: Magic number: 4, in <argument> detected (gomnd)
golangci-lint: cmd/main.go#L79
mnd: Magic number: 4, in <argument> detected (gomnd)
golangci-lint: cmd/main.go#L92
mnd: Magic number: 4, in <argument> detected (gomnd)
golangci-lint: cmd/main.go#L108
mnd: Magic number: 4, in <argument> detected (gomnd)
golangci-lint: cmd/main.go#L115
mnd: Magic number: 4, in <argument> detected (gomnd)
golangci-lint: pkg/config/config.go#L64
mnd: Magic number: 6, in <argument> detected (gomnd)
golangci-lint: pkg/config/config.go#L81
mnd: Magic number: 6, in <argument> detected (gomnd)
golangci-lint: pkg/config/config.go#L100
mnd: Magic number: 6, in <argument> detected (gomnd)
golangci-lint: pkg/driver/driver.go#L61
mnd: Magic number: 6, in <argument> detected (gomnd)
golangci-lint: pkg/driver/driver.go#L68
mnd: Magic number: 6, in <argument> detected (gomnd)