Skip to content

passing tests

passing tests #32

Triggered via push January 20, 2025 18:56
Status Failure
Total duration 1m 6s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: pkg/scan/combined_scanner.go#L28
cyclomatic complexity 12 of func `(*CombinedScanner).Scan` is high (> 10) (gocyclo)
lint: pkg/scan/combined_scanner.go#L19
Comment should end in a period (godot)
lint: pkg/scan/combined_scanner_test.go#L183
Comment should end in a period (godot)
lint: pkg/scan/combined_scanner_test.go#L103
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"TCP scan failed\")" (err113)
lint: pkg/scan/combined_scanner_test.go#L118
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"ICMP scan failed\")" (err113)
lint: pkg/scan/combined_scanner.go#L57
Magic number: 2, in <argument> detected (mnd)
lint: pkg/scan/combined_scanner.go#L44
return statements should not be cuddled if block has more than two lines (wsl)
lint: pkg/scan/combined_scanner.go#L52
return statements should not be cuddled if block has more than two lines (wsl)
lint: pkg/scan/combined_scanner.go#L79
only one cuddle assignment allowed before if statement (wsl)
lint: pkg/scan/combined_scanner.go#L83
only one cuddle assignment allowed before go statement (wsl)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636