Skip to content

update controller runtime to v0.15 #387

update controller runtime to v0.15

update controller runtime to v0.15 #387

Triggered via pull request November 11, 2024 21:59
Status Failure
Total duration 1m 29s
Artifacts

linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 12 warnings
GolangCI Lint: pkg/client/client.go#L371
SA1019: wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
GolangCI Lint: pkg/cmd/adm/install_operator.go#L212
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
GolangCI Lint: pkg/cmd/adm/install_operator.go#L229
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
GolangCI Lint: pkg/cmd/adm/register_member.go#L277
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
GolangCI Lint: pkg/cmd/adm/restart.go#L136
SA1019: wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
GolangCI Lint
issues found
YAML Lint: .codecov.yaml#L24
24:12 [truthy] truthy value should be one of [false, true]
YAML Lint: .codecov.yaml#L27
27:14 [truthy] truthy value should be one of [false, true]
YAML Lint: .github/workflows/user-identity-mapper.yml#L2
2:1 [truthy] truthy value should be one of [false, true]
YAML Lint: .github/workflows/test-with-coverage.yml#L2
2:1 [truthy] truthy value should be one of [false, true]
YAML Lint: .github/workflows/test-with-coverage.yml#L9
9:13 [brackets] too many spaces inside brackets
YAML Lint: .github/workflows/test-with-coverage.yml#L9
9:61 [brackets] too many spaces inside brackets
YAML Lint: .github/workflows/test-with-coverage.yml#L18
18:14 [brackets] too many spaces inside brackets
YAML Lint: .github/workflows/test-with-coverage.yml#L18
18:28 [brackets] too many spaces inside brackets
YAML Lint: .github/workflows/linters.yml#L2
2:1 [truthy] truthy value should be one of [false, true]
YAML Lint: .github/workflows/ci-check-gomod.yml#L2
2:1 [truthy] truthy value should be one of [false, true]
GolangCI Lint
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
GolangCI Lint
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']