Skip to content

Refactor work units and added tests for command.go #2425

Refactor work units and added tests for command.go

Refactor work units and added tests for command.go #2425

Triggered via pull request December 7, 2023 19:59
Status Failure
Total duration 3m 47s
Artifacts

pull_request.yml

on: pull_request
Matrix: receptor
Matrix: receptorctl
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 5 warnings
lint-receptor: pkg/workceptor/command_test.go#L63
File is not `gofumpt`-ed (gofumpt)
lint-receptor: pkg/workceptor/command_test.go#L80
File is not `gofumpt`-ed (gofumpt)
lint-receptor: pkg/workceptor/command_test.go#L194
File is not `gofumpt`-ed (gofumpt)
lint-receptor: pkg/workceptor/command_test.go#L33
return with no blank line before (nlreturn)
lint-receptor
issues found
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Cannot open: File exists
receptor (Go 1.19)
Process completed with exit code 2.
receptor (Go 1.20)
Process completed with exit code 2.
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
receptor (Go 1.20)
Cannot open: File exists
lint-receptor: pkg/workceptor/kubernetes.go#L1377
unused-parameter: parameter 'bwu' seems to be unused, consider removing or renaming it as _ (revive)
lint-receptor: pkg/workceptor/json_test.go#L14
unused-parameter: parameter 'bwu' seems to be unused, consider removing or renaming it as _ (revive)
lint-receptor: pkg/workceptor/python.go#L53
unused-parameter: parameter 'bwu' seems to be unused, consider removing or renaming it as _ (revive)
receptor (Go 1.19)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
receptor (Go 1.20)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2