Skip to content

addressing linter errors #3656

addressing linter errors

addressing linter errors #3656

Triggered via push November 7, 2024 21:45
Status Success
Total duration 3m 40s
Artifacts

build.yml

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

Annotations

14 errors
[golangci] command/secret/add.go#L3: command/secret/add.go#L3
3-217 lines are duplicate of `command/secret/update.go:3-217` (dupl)
[golangci] command/secret/update.go#L3: command/secret/update.go#L3
3-217 lines are duplicate of `command/secret/add.go:3-217` (dupl)
[golangci] action/config/remove.go#L16: action/config/remove.go#L16
Function 'Remove' is too long (165 > 160) (funlen)
[golangci] action/config/load.go#L203: action/config/load.go#L203
assignments should only be cuddled with other assignments (wsl)
[golangci] action/config/load.go#L204: action/config/load.go#L204
only one cuddle assignment allowed before if statement (wsl)
[golangci] internal/output/yaml_test.go#L72: internal/output/yaml_test.go#L72
unused-parameter: parameter 'unmarshal' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] action/pipeline/exec.go#L28: action/pipeline/exec.go#L28
cyclomatic complexity 31 of func `(*Config).Exec` is high (> 30) (gocyclo)
[golangci] action/pipeline/exec.go#L134: action/pipeline/exec.go#L134
unnecessary leading newline (whitespace)
[golangci] action/pipeline/exec.go#L129: action/pipeline/exec.go#L129
block should not start with a whitespace (wsl)
[golangci] action/pipeline/validate_test.go#L482: action/pipeline/validate_test.go#L482
assignments should only be cuddled with other assignments (wsl)
[golangci] action/pipeline/validate_test.go#L483: action/pipeline/validate_test.go#L483
only one cuddle assignment allowed before if statement (wsl)
[golangci] action/pipeline/validate_test.go#L487: action/pipeline/validate_test.go#L487
if statements should only be cuddled with assignments (wsl)
[golangci] action/secret/table.go#L51: action/secret/table.go#L51
directive `//nolint:gosec // ignore memory aliasing` is unused for linter "gosec" (nolintlint)
[golangci] action/secret/table.go#L106: action/secret/table.go#L106
directive `//nolint:gosec // ignore memory aliasing` is unused for linter "gosec" (nolintlint)