Skip to content

Merge pull request #1757 from rksharma95/fix-controller #24

Merge pull request #1757 from rksharma95/fix-controller

Merge pull request #1757 from rksharma95/fix-controller #24

Triggered via push June 2, 2024 19:57
Status Success
Total duration 1m 47s
Artifacts

ci-test-go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 34 warnings
go-vuln
util.init calls vm.init, which eventually calls addressing.init
go-vuln
util.K8sExecInPodWithContainer calls rest.Request.VersionedParams, which eventually calls api.Rule.DeepCopyInto
go-vuln
util.K8sDelete calls fmt.Sprintf, which eventually calls api.Rules.String
go-vuln
util.init calls vm.init, which eventually calls api.init
go-vuln
util.init calls vm.init, which eventually calls api.init
go-vuln
util.init calls vm.init, which eventually calls bgp.New
go-vuln
util.init calls vm.init, which eventually calls bgp.init
go-vuln
util.init calls vm.init, which eventually calls cell.Config[github.com/cilium/cilium/pkg/metrics.RegistryConfig]
go-vuln
util.init calls vm.init, which eventually calls cell.Invoke
go-vuln
util.init calls vm.init, which eventually calls cell.Metric[*github.com/cilium/cilium/pkg/metrics.LegacyMetrics]
go-fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint: KubeArmor/policy/policy.go#L52
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/policy/policy.go#L24
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/policy/policy.go#L17
type name will be used as policy.PolicyServer by other packages, and that stutters; consider calling this Server
go-lint: KubeArmor/common/common.go#L36
comment on exported const DefaultMaxRecvMaxSize should be of the form "DefaultMaxRecvMaxSize ..."
go-lint: KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
go-lint: KubeArmor/common/common.go#L538
comment on exported function HandleGRPCErrors should be of the form "HandleGRPCErrors ..."
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#L572
exported function GetLabelsFromString should have comment or be unexported
go-lint: KubeArmor/common/common.go#L559
comment on exported function GetBootTime should be of the form "GetBootTime ..."
go-lint: KubeArmor/feeder/policyMatcher.go#L978
if block ends with a return statement, so drop this else and outdent its block
go-lint-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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_suite_test.go#L10
should not use dot imports
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/blockposture/block_test.go#L11
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/blockposture/block_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/configmap/kubearmor_config_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/configmap/kubearmor_config_test.go#L11
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-sec
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum