Skip to content

fix: goreleaser

fix: goreleaser #45

Triggered via push June 6, 2024 14:33
Status Failure
Total duration 11m 49s
Artifacts

build.yml

on: push
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

30 errors
ci (ubuntu-latest): core/task/command.go#L74
Error return value of `proc.Start` is not checked (errcheck)
ci (ubuntu-latest): core/task/command.go#L64
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
ci (ubuntu-latest): core/schedule/interval.go#L11
func `test` is unused (unused)
ci (ubuntu-latest): core/schedule/interval.go#L16
func `tester` is unused (unused)
ci (ubuntu-latest): core/task/get.go#L65
response body must be closed (bodyclose)
ci (ubuntu-latest): core/task/post.go#L69
response body must be closed (bodyclose)
ci (ubuntu-latest): config/validators.go#L29
S1002: should omit comparison to bool constant, can be simplified to `c.Disabled` (gosimple)
ci (ubuntu-latest): core/task/command.go#L76
S1030: should use res.String() instead of string(res.Bytes()) (gosimple)
ci (ubuntu-latest): core/task/command.go#L81
naked return in func `Execute` with 39 lines of code (nakedret)
ci (ubuntu-latest): core/task/get.go#L59
naked return in func `Execute` with 49 lines of code (nakedret)
ci (macos-latest): core/task/command.go#L74
Error return value of `proc.Start` is not checked (errcheck)
ci (macos-latest): core/task/command.go#L64
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
ci (macos-latest): core/schedule/interval.go#L11
func `test` is unused (unused)
ci (macos-latest): core/schedule/interval.go#L16
func `tester` is unused (unused)
ci (macos-latest): core/task/get.go#L65
response body must be closed (bodyclose)
ci (macos-latest): core/task/post.go#L69
response body must be closed (bodyclose)
ci (macos-latest): config/validators.go#L29
S1002: should omit comparison to bool constant, can be simplified to `c.Disabled` (gosimple)
ci (macos-latest): core/task/command.go#L76
S1030: should use res.String() instead of string(res.Bytes()) (gosimple)
ci (macos-latest): core/task/command.go#L81
naked return in func `Execute` with 39 lines of code (nakedret)
ci (macos-latest): core/task/get.go#L59
naked return in func `Execute` with 49 lines of code (nakedret)
ci (windows-latest): core/task/command.go#L74
Error return value of `proc.Start` is not checked (errcheck)
ci (windows-latest): core/task/command.go#L64
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
ci (windows-latest): core/schedule/interval.go#L11
func `test` is unused (unused)
ci (windows-latest): core/schedule/interval.go#L16
func `tester` is unused (unused)
ci (windows-latest): core/task/get.go#L65
response body must be closed (bodyclose)
ci (windows-latest): core/task/post.go#L69
response body must be closed (bodyclose)
ci (windows-latest): config/validators.go#L29
S1002: should omit comparison to bool constant, can be simplified to `c.Disabled` (gosimple)
ci (windows-latest): core/task/command.go#L76
S1030: should use res.String() instead of string(res.Bytes()) (gosimple)
ci (windows-latest): core/task/command.go#L81
naked return in func `Execute` with 39 lines of code (nakedret)
ci (windows-latest): core/task/get.go#L59
naked return in func `Execute` with 49 lines of code (nakedret)