chore(dependency): upgrade go dependencies and bump go version to 1.23.0 #5285
ci-test-go.yml
on: pull_request
go-fmt
25s
go-lint
35s
go-lint-tests
38s
go-sec
1m 48s
go-vuln
1m 28s
go-test
1m 38s
license
32s
Annotations
13 errors and 27 warnings
go-vuln:
KubeArmor/core/dockerHandler.go#L270
undefined: types.ContainerListOptions
|
go-vuln
undefined: tp.KVMSEndpoint
|
go-vuln
undefined: tp.KubeArmorVirtualMachinePolicy
|
go-vuln
undefined: tp.KubeArmorVirtualMachinePolicyEvent
|
go-vuln:
deployments/main.go#L49
undefined: dp.GetKubeArmorControllerProxyRole
|
go-vuln:
deployments/main.go#L50
undefined: dp.GetKubeArmorControllerMetricsReaderRole
|
go-vuln:
deployments/main.go#L56
undefined: dp.GetKubeArmorControllerProxyRoleBinding
|
go-vuln:
deployments/main.go#L57
undefined: dp.GetKubeArmorControllerMetricsReaderRoleBinding
|
go-vuln:
deployments/main.go#L65
undefined: dp.GetKubeArmorControllerMetricsService
|
go-test
undefined: types.ContainerListOptions
|
go-test
Process completed with exit code 1.
|
go-sec
undefined: types.ContainerListOptions
|
go-sec
Process completed with exit code 2.
|
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.
|
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#L17
type name will be used as policy.PolicyServer by other packages, and that stutters; consider calling this Server
|
go-lint:
KubeArmor/policy/policy.go#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/common/common.go#L133
redefinition of the built-in function new
|
go-lint:
KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
|
go-lint:
KubeArmor/common/common.go#L43
comment on exported const DefaultMaxRecvMaxSize should be of the form "DefaultMaxRecvMaxSize ..."
|
go-lint:
KubeArmor/common/common.go#L552
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/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
|
go-lint:
KubeArmor/common/common.go#L573
comment on exported function GetBootTime should be of the form "GetBootTime ..."
|
go-lint-tests:
tests/k8s_env/throttling/throttling_test.go#L10
should not use dot imports
|
go-lint-tests:
tests/k8s_env/throttling/throttling_test.go#L11
should not use dot imports
|
go-lint-tests:
tests/k8s_env/throttling/throttling_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/blockposture/block_test.go#L12
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/visibility/visibility_test.go#L11
should not use dot imports
|
go-lint-tests:
tests/k8s_env/visibility/visibility_test.go#L12
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/privileged/privileged_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
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
|