Skip to content

SANDBOX-559 K8s 1 27 member #5

SANDBOX-559 K8s 1 27 member

SANDBOX-559 K8s 1 27 member #5

Triggered via pull request April 5, 2024 20:06
Status Failure
Total duration 3m 37s
Artifacts

ci-golang-sbom.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
GolangCI Lint: test/cluster.go#L6
could not import github.com/codeready-toolchain/toolchain-common/pkg/test (-: # github.com/codeready-toolchain/toolchain-common/pkg/test
GolangCI Lint
cannot use &m (value of type *mockStatusUpdate) as "sigs.k8s.io/controller-runtime/pkg/client".SubResourceWriter value in return statement: *mockStatusUpdate does not implement "sigs.k8s.io/controller-runtime/pkg/client".SubResourceWriter (missing method Create)) (typecheck)
GolangCI Lint: controllers/idler/idler_controller_test.go#L18
could not import github.com/codeready-toolchain/toolchain-common/pkg/test (-: # github.com/codeready-toolchain/toolchain-common/pkg/test
GolangCI Lint
cannot use &m (value of type *mockStatusUpdate) as "sigs.k8s.io/controller-runtime/pkg/client".SubResourceWriter value in return statement: *mockStatusUpdate does not implement "sigs.k8s.io/controller-runtime/pkg/client".SubResourceWriter (missing method Create)) (typecheck)
GolangCI Lint: controllers/memberoperatorconfig/mapper_test.go#L7
could not import github.com/codeready-toolchain/toolchain-common/pkg/test (-: # github.com/codeready-toolchain/toolchain-common/pkg/test
GolangCI Lint
cannot use &m (value of type *mockStatusUpdate) as "sigs.k8s.io/controller-runtime/pkg/client".SubResourceWriter value in return statement: *mockStatusUpdate does not implement "sigs.k8s.io/controller-runtime/pkg/client".SubResourceWriter (missing method Create)) (typecheck)
GolangCI Lint: controllers/memberstatus/creation_test.go#L25
undefined: NewFakeClient (typecheck)
GolangCI Lint: controllers/memberstatus/creation_test.go#L28
undefined: MemberOperatorNs (typecheck)
GolangCI Lint: controllers/memberstatus/creation_test.go#L34
undefined: AssertThatMemberStatus (typecheck)
GolangCI Lint: controllers/memberstatus/creation_test.go#L39
undefined: NewFakeClient (typecheck)
Generate SBOM
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: CycloneDX/gh-gomod-generate-sbom@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
GolangCI Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/member-operator/member-operator. Supported file pattern: go.sum