Skip to content

fix: re-added ci.yaml for code cov #1

fix: re-added ci.yaml for code cov

fix: re-added ci.yaml for code cov #1

Triggered via push June 16, 2024 11:43
Status Failure
Total duration 10m 14s
Artifacts

ci.yml

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

Annotations

30 errors
ci (ubuntu-latest): config/validators.go#L100
cyclomatic complexity 16 of func `(*Task).Validate` is high (> 15) (gocyclo)
ci (ubuntu-latest): core/cmd_connection/docker_create.go#L24
field `imageName` is unused (unused)
ci (ubuntu-latest): core/task/get.go#L23
field `cancel` is unused (unused)
ci (ubuntu-latest): core/task/helper.go#L35
func `flushFailedConnections` is unused (unused)
ci (ubuntu-latest): core/task/get.go#L62
response body must be closed (bodyclose)
ci (ubuntu-latest): core/task/post.go#L80
response body must be closed (bodyclose)
ci (ubuntu-latest): core/os_credential/unix_credential.go#L3
ST1000: at least one file in a package should have a package comment (stylecheck)
ci (ubuntu-latest): core/schedule/cron.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
ci (ubuntu-latest): core/schedule/init.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
ci (ubuntu-latest): core/cmd_connection/compiler.go#L1
ST1000: package comment should be of the form "Package connection ..." (stylecheck)
ci (macos-latest): config/validators.go#L100
cyclomatic complexity 16 of func `(*Task).Validate` is high (> 15) (gocyclo)
ci (macos-latest): core/cmd_connection/docker_create.go#L24
field `imageName` is unused (unused)
ci (macos-latest): core/task/get.go#L23
field `cancel` is unused (unused)
ci (macos-latest): core/task/helper.go#L35
func `flushFailedConnections` is unused (unused)
ci (macos-latest): core/task/get.go#L62
response body must be closed (bodyclose)
ci (macos-latest): core/task/post.go#L80
response body must be closed (bodyclose)
ci (macos-latest): core/schedule/init.go#L19
ST1020: comment on exported method Cancel should be of the form "Cancel ..." (stylecheck)
ci (macos-latest): core/schedule/interval.go#L45
ST1020: comment on exported method Cancel should be of the form "Cancel ..." (stylecheck)
ci (macos-latest): enums/logger_format_type.go#L8
ST1003: const JsonLogger should be JSONLogger (stylecheck)
ci (macos-latest): enums/logger_format_type.go#L18
ST1005: error strings should not be capitalized (stylecheck)
ci (windows-latest): config/validators.go#L100
cyclomatic complexity 16 of func `(*Task).Validate` is high (> 15) (gocyclo)
ci (windows-latest): core/cmd_connection/docker_create.go#L24
field `imageName` is unused (unused)
ci (windows-latest): core/task/get.go#L23
field `cancel` is unused (unused)
ci (windows-latest): core/task/helper.go#L35
func `flushFailedConnections` is unused (unused)
ci (windows-latest): core/task/get.go#L62
response body must be closed (bodyclose)
ci (windows-latest): core/task/post.go#L80
response body must be closed (bodyclose)
ci (windows-latest): core/os_credential/windows_credential.go#L4
ST1000: at least one file in a package should have a package comment (stylecheck)
ci (windows-latest): core/schedule/cron.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
ci (windows-latest): core/schedule/init.go#L1
ST1000: at least one file in a package should have a package comment (stylecheck)
ci (windows-latest): core/cmd_connection/compiler.go#L1
ST1000: package comment should be of the form "Package connection ..." (stylecheck)