Skip to content

[ci] add nonamedreturns linter #1263

[ci] add nonamedreturns linter

[ci] add nonamedreturns linter #1263

Triggered via pull request December 18, 2024 13:20
Status Failure
Total duration 2m 7s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Run linter: test/utils/jsonloganalyzer.go#L250
named return "success" with type "bool" found (nonamedreturns)
Run linter: test/utils/jsonloganalyzer.go#L262
named return "message" with type "string" found (nonamedreturns)
Run linter: test/utils/jsonloganalyzer.go#L273
named return "message" with type "string" found (nonamedreturns)
Run linter: test/utils/prometheus.go#L191
named return "success" with type "bool" found (nonamedreturns)
Run linter: test/utils/prometheus.go#L202
named return "message" with type "string" found (nonamedreturns)
Run linter: test/utils/prometheus.go#L206
named return "message" with type "string" found (nonamedreturns)
Run linter: test/utils/shell-operator.go#L101
named return "success" with type "bool" found (nonamedreturns)
Run linter: test/utils/shell-operator.go#L112
named return "message" with type "string" found (nonamedreturns)
Run linter: test/utils/shell-operator.go#L116
named return "message" with type "string" found (nonamedreturns)
Run linter
Process completed with exit code 1.
Run codespell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run linter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run linter
Restore cache failed: Dependencies file is not found in /home/runner/work/shell-operator/shell-operator. Supported file pattern: go.sum