Skip to content

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

Refactor work units and added tests for command.go

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

Triggered via pull request December 8, 2023 19:03
Status Failure
Total duration 7m 5s
Artifacts 1

pull_request.yml

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

Annotations

30 errors and 2 warnings
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)
lint-receptor: pkg/workceptor/command_test.go#L46
declaration has 3 blank identifiers (dogsled)
lint-receptor: pkg/workceptor/command_test.go#L93
declaration has 3 blank identifiers (dogsled)
lint-receptor: pkg/workceptor/command_test.go#L120
declaration has 3 blank identifiers (dogsled)
lint-receptor: pkg/workceptor/command_test.go#L72
File is not `gofumpt`-ed (gofumpt)
lint-receptor: pkg/workceptor/command_test.go#L89
File is not `gofumpt`-ed (gofumpt)
lint-receptor: pkg/workceptor/command_test.go#L296
File is not `gofumpt`-ed (gofumpt)
lint-receptor: pkg/workceptor/command_test.go#L42
return with no blank line before (nlreturn)
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
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.20)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
receptor (Go 1.19)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

Artifacts

Produced during runtime
Name Size
receptor Expired
53.1 MB