[ci] add nonamedreturns linter #1776
Annotations
4 errors and 3 warnings
Run golangci-lint:
pkg/module_manager/models/hooks/kind/batch_hook.go#L54
ST1016: methods on the same type should have the same receiver name (seen 22x "h", 2x "sh") (stylecheck)
|
Run golangci-lint:
pkg/module_manager/models/hooks/kind/batch_hook.go#L95
receiver-naming: receiver name sh should be consistent with previous receiver name h for BatchHook (revive)
|
Run golangci-lint:
pkg/module_manager/models/hooks/kind/batch_hook.go#L251
receiver-naming: receiver name sh should be consistent with previous receiver name h for BatchHook (revive)
|
Run golangci-lint
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Set up Go 1.22
Restore cache failed: Dependencies file is not found in /home/runner/work/addon-operator/addon-operator. Supported file pattern: go.sum
|
Post Check out addon-operator code
The process '/usr/bin/git' failed with exit code 128
|
Loading