fix: rename k8shelper folder #14
lint-and-test.yaml
on: push
detect-modules
12s
Matrix: golangci-lint
Annotations
6 errors and 7 warnings
golangci-lint (/home/runner/work/elasti/elasti/operator):
operator/test/utils/utils.go#L38
Error return value of `fmt.Fprintf` is not checked (errcheck)
|
golangci-lint (/home/runner/work/elasti/elasti/operator):
operator/test/utils/utils.go#L55
Error return value of `fmt.Fprintf` is not checked (errcheck)
|
golangci-lint (/home/runner/work/elasti/elasti/operator):
operator/test/utils/utils.go#L60
Error return value of `fmt.Fprintf` is not checked (errcheck)
|
golangci-lint (/home/runner/work/elasti/elasti/operator):
operator/internal/controller/elastiservice_controller.go#L66
string `success` has 8 occurrences, make it a constant (goconst)
|
golangci-lint (/home/runner/work/elasti/elasti/operator):
operator/internal/controller/opsModes.go#L24
(*ElastiServiceReconciler).switchMode - result res is never used (unparam)
|
|
detect-modules
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
|
golangci-lint (/home/runner/work/elasti/elasti/resolver)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
golangci-lint (/home/runner/work/elasti/elasti/resolver)
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
|
golangci-lint (/home/runner/work/elasti/elasti/pkg)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
golangci-lint (/home/runner/work/elasti/elasti/pkg)
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
|
golangci-lint (/home/runner/work/elasti/elasti/operator)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
golangci-lint (/home/runner/work/elasti/elasti/operator)
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
|