fix(pipeline): include starlark exec limit to compiler flags in exec + validate #504
reviewdog [golangci] report
reported by reviewdog 🐶
Findings (4)
action/pipeline/exec.go|24| Function 'Exec' is too long (163 > 160) (funlen)
internal/output/yaml_test.go|72 col 39| unused-parameter: parameter 'unmarshal' seems to be unused, consider removing or renaming it as _ (revive)
command/worker/add.go|3 col 1| directive //nolint:dupl // ignore similar code with update
is unused for linter "dupl" (nolintlint)
command/worker/view.go|70 col 1| directive //nolint:dupl // ignore similar code with chown, get, remove and repair
is unused for linter "dupl" (nolintlint)
Filtered Findings (0)
Annotations
Check failure on line 24 in action/pipeline/exec.go
github-actions / golangci
[golangci] action/pipeline/exec.go#L24
Function 'Exec' is too long (163 > 160) (funlen)
Raw output
action/pipeline/exec.go:24: Function 'Exec' is too long (163 > 160) (funlen)
func (c *Config) Exec(client compiler.Engine) error {
Check failure on line 72 in internal/output/yaml_test.go
github-actions / golangci
[golangci] internal/output/yaml_test.go#L72
unused-parameter: parameter 'unmarshal' seems to be unused, consider removing or renaming it as _ (revive)
Raw output
internal/output/yaml_test.go:72:39: unused-parameter: parameter 'unmarshal' seems to be unused, consider removing or renaming it as _ (revive)
func (f *failMarshaler) UnmarshalYAML(unmarshal func(interface{}) error) error {
^
Check failure on line 3 in command/worker/add.go
github-actions / golangci
[golangci] command/worker/add.go#L3
directive `//nolint:dupl // ignore similar code with update` is unused for linter "dupl" (nolintlint)
Raw output
command/worker/add.go:3:1: directive `//nolint:dupl // ignore similar code with update` is unused for linter "dupl" (nolintlint)
//nolint:dupl // ignore similar code with update
^
Check failure on line 70 in command/worker/view.go
github-actions / golangci
[golangci] command/worker/view.go#L70
directive `//nolint:dupl // ignore similar code with chown, get, remove and repair` is unused for linter "dupl" (nolintlint)
Raw output
command/worker/view.go:70:1: directive `//nolint:dupl // ignore similar code with chown, get, remove and repair` is unused for linter "dupl" (nolintlint)
//nolint:dupl // ignore similar code with chown, get, remove and repair
^