SANDBOX-559 K8s 1 27 member #5
ci-golang-sbom.yml
on: pull_request
GolangCI Lint
3m 29s
Generate SBOM
23s
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
|