Skip to content

Pulling feat/action-workflow into develop #125

Pulling feat/action-workflow into develop

Pulling feat/action-workflow into develop #125

Triggered via pull request August 11, 2023 00:01
Status Failure
Total duration 29s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: main.go#L85
Error return value of `app.Run` is not checked (errcheck)
lint: server/content_test.go#L18
File is not `gci`-ed with --skip-generated -s standard,default (gci)
lint: server/content_test.go#L20
File is not `gci`-ed with --skip-generated -s standard,default (gci)
lint: server/content_test.go#L23
File is not `gci`-ed with --skip-generated -s standard,default (gci)
lint: server/content_test.go#L144
exitAfterDefer: log.Fatalf will exit, and `defer os.RemoveAll(dir)` will not run (gocritic)
lint: server/content_test.go#L116
G102: Binds to all network interfaces (gosec)
lint: server/content_test.go#L41
field `name` is unused (unused)
lint: server/content_test.go#L169
unnecessary trailing newline (whitespace)
lint: validate/validate.go#L14
mnd: Magic number: 2, in <argument> detected (gomnd)
lint: validate/validate.go#L18
return with no blank line before (nlreturn)