Skip to content

Merge pull request #1335 from rksharma95/feat-multienforcer-controller #19

Merge pull request #1335 from rksharma95/feat-multienforcer-controller

Merge pull request #1335 from rksharma95/feat-multienforcer-controller #19

Triggered via push August 4, 2024 14:35
Status Success
Total duration 1m 58s
Artifacts

ci-test-go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

34 warnings
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-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/util/kartutil.go#L231
exported function AnnotationsMatch should have comment or be unexported
go-lint-tests: tests/util/kartutil.go#L645
exported function K8sRuntime should have comment or be unexported
go-lint-tests: tests/util/kartutil.go#L655
comment on exported function RunDockerCommand should be of the form "RunDockerCommand ..."
go-lint-tests: tests/k8s_env/csp/csp_test.go#L10
should not use dot imports
go-lint-tests: tests/util/kartutil.go#L663
exported function AssertCommand should have comment or be unexported
go-lint-tests: tests/k8s_env/csp/csp_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/csp/csp_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#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
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-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/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/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
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#L123
parameter 'msg' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/enforcer/bpflsm/rulesHandling.go#L477
parameter 'newPosture' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
go-lint: KubeArmor/enforcer/bpflsm/mapHelpers.go#L45
comment on exported method BPFEnforcer.CreateContainerInnerMap should be of the form "CreateContainerInnerMap ..."
go-lint: KubeArmor/enforcer/bpflsm/rulesHandling.go#L477
parameter 'oldPosture' seems to be unused, consider removing or renaming it as _
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