Skip to content

actionConfigGetter: allow custom mapping from object to rest.Config #151

actionConfigGetter: allow custom mapping from object to rest.Config

actionConfigGetter: allow custom mapping from object to rest.Config #151

Triggered via push April 19, 2024 07:22
Status Failure
Total duration 2m 10s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
Test: pkg/client/actionclient_test.go#L74
cannot use logr.Discard() (value of type logr.Logger) as ActionConfigGetterOption value in argument to NewActionConfigGetter
Test: pkg/client/actionclient_test.go#L91
cannot use logr.Discard() (value of type logr.Logger) as ActionConfigGetterOption value in argument to NewActionConfigGetter
Test: pkg/client/actionclient_test.go#L93
not enough arguments in call to newRESTClientGetter
Test: pkg/client/actionclient_test.go#L113
not enough arguments in call to acg.ActionClientFor
Test: pkg/client/actionclient_test.go#L134
not enough arguments in call to acg.ActionClientFor
Test: pkg/client/actionclient_test.go#L155
not enough arguments in call to acg.ActionClientFor
Test: pkg/client/actionclient_test.go#L176
not enough arguments in call to acg.ActionClientFor
Test: pkg/client/actionclient_test.go#L197
not enough arguments in call to acg.ActionClientFor
Test: pkg/client/actionclient_test.go#L229
not enough arguments in call to acg.ActionClientFor
Test: pkg/client/actionclient_test.go#L257
not enough arguments in call to acg.ActionClientFor
Lint: pkg/client/actionclient.go#L1
: # github.com/operator-framework/helm-operator-plugins/pkg/client [github.com/operator-framework/helm-operator-plugins/pkg/client.test]
Lint: pkg/client/actionclient_test.go#L74
cannot use logr.Discard() (value of type logr.Logger) as ActionConfigGetterOption value in argument to NewActionConfigGetter
Lint: pkg/client/actionclient_test.go#L91
cannot use logr.Discard() (value of type logr.Logger) as ActionConfigGetterOption value in argument to NewActionConfigGetter
Lint: pkg/client/actionclient_test.go#L93
not enough arguments in call to newRESTClientGetter
Lint: pkg/client/actionclient_test.go#L113
not enough arguments in call to acg.ActionClientFor
Lint: pkg/client/actionclient_test.go#L134
not enough arguments in call to acg.ActionClientFor
Lint: pkg/client/actionclient_test.go#L155
not enough arguments in call to acg.ActionClientFor
Lint: pkg/client/actionclient_test.go#L176
not enough arguments in call to acg.ActionClientFor
Lint: pkg/client/actionclient_test.go#L197
not enough arguments in call to acg.ActionClientFor
Lint: pkg/client/actionclient_test.go#L229
not enough arguments in call to acg.ActionClientFor
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v2, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/