Skip to content

cicd: typo

cicd: typo #3

Triggered via push January 12, 2024 20:47
Status Failure
Total duration 35s
Artifacts

test.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test: pkg/ref/books.go#L275
commentFormatting: put a space between `//` and comment text (gocritic)
test: pkg/ref/categories.go#L14
commentFormatting: put a space between `//` and comment text (gocritic)
test: pkg/ref/lookup.go#L3
commentFormatting: put a space between `//` and comment text (gocritic)
test: pkg/ref/parse.go#L334
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
test: cmd/main.go#L104
dupBranchBody: both branches in if statement have same body (gocritic)
test: cmd/main.go#L125
dupBranchBody: both branches in if statement have same body (gocritic)
test: pkg/ref/ref.go#L397
Comment should end in a period (godot)
test: pkg/text/esv/verse.go#L41
G203: The used method does not auto-escape HTML. This can potentially lead to 'Cross-site Scripting' vulnerabilities, in case the attacker controls the input. (gosec)
test: pkg/ref/parse.go#L34
(*parseState).next - result 0 (rune) is never used (unparam)
test: pkg/ref/parse.go#L424
unnecessary trailing newline (whitespace)