[ci] add nonamedreturns linter #1263
lint.yaml
on: pull_request
Run linter
1m 57s
Run codespell
8s
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
|