Skip to content

feat: use logr

feat: use logr #317

Triggered via pull request August 31, 2023 12:46
@Leonard-DellLeonard-Dell
synchronize #152
logr
Status Failure
Total duration 3m 59s
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
23s
golangci-lint
Malware Scanner
1m 8s
Malware Scanner
Check for forbidden words
6s
Check for forbidden words
Run Hadolint Dockerfile lint
8s
Run Hadolint Dockerfile lint
Run Shellcheck, Checkmake and Perl Critic
32s
Run Shellcheck, Checkmake and Perl Critic
Run unit tests and check package coverage
3m 43s
Run unit tests and check package coverage
Build and Scan Docker image
1m 34s
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)