Skip to content

fix(deps): update kubernetes packages to v0.31.4 #4296

fix(deps): update kubernetes packages to v0.31.4

fix(deps): update kubernetes packages to v0.31.4 #4296

Triggered via pull request July 19, 2024 10:40
Status Failure
Total duration 2m 3s
Artifacts

ci-test-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 34 warnings
go-vuln
undefined: leaderelection.SwitchMetric
go-vuln
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln
missing go.sum entry for module providing package google.golang.org/grpc/codes (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln
missing go.sum entry for module providing package google.golang.org/grpc/status (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln
missing go.sum entry for module providing package google.golang.org/protobuf/reflect/protoreflect (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln
missing go.sum entry for module providing package google.golang.org/protobuf/runtime/protoimpl (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln
missing go.sum entry for module providing package google.golang.org/protobuf/types/known/emptypb (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln: protobuf/kubearmor.pb.go#L10
could not import google.golang.org/protobuf/reflect/protoreflect (invalid package name: "")
go-vuln: protobuf/kubearmor.pb.go#L11
could not import google.golang.org/protobuf/runtime/protoimpl (invalid package name: "")
go-vuln: protobuf/kubearmor_grpc.pb.go#L11
could not import google.golang.org/grpc (invalid package name: "")
go-test
undefined: leaderelection.SwitchMetric
go-test
Process completed with exit code 1.
go-fmt
The following actions uses Node.js version which is deprecated 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/
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
license
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
go-lint
The following actions uses Node.js version which is deprecated 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/
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint: KubeArmor/state/stateAgent.go#L123
parameter 'msg' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/common/common.go#L132
redefinition of the built-in function new
go-lint: KubeArmor/state/stateAgent.go#L42
type name will be used as state.StateAgent by other packages, and that stutters; consider calling this Agent
go-lint: KubeArmor/common/common.go#L544
comment on exported function HandleGRPCErrors should be of the form "HandleGRPCErrors ..."
go-lint: KubeArmor/common/common.go#L42
comment on exported const DefaultMaxRecvMaxSize should be of the form "DefaultMaxRecvMaxSize ..."
go-lint: KubeArmor/common/common.go#L578
exported function GetLabelsFromString should have comment or be unexported
go-lint: KubeArmor/common/common.go#L565
comment on exported function GetBootTime should be of the form "GetBootTime ..."
go-lint: KubeArmor/cert/tls.go#L15
exported const SelfCertProvider should have comment (or a comment on this block) or be unexported
go-lint: KubeArmor/common/common.go#L598
comment on exported function GetCurrentTimeStamp should be of the form "GetCurrentTimeStamp ..."
go-lint-tests
The following actions uses Node.js version which is deprecated 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/
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_suite_test.go#L9
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L14
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_suite_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L12
should not use dot imports
go-lint-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-vuln
The following actions uses Node.js version which is deprecated 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/
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-test
The following actions uses Node.js version which is deprecated 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/
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-sec
The following actions uses Node.js version which is deprecated 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/
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum