Skip to content

fix: os.readlink memory overhead #5830

fix: os.readlink memory overhead

fix: os.readlink memory overhead #5830

Triggered via pull request March 7, 2025 05:47
Status Success
Total duration 2m 9s
Artifacts

ci-test-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

33 warnings
go-fmt
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint-tests
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-lint-tests: tests/k8s_env/csp/csp_test.go#L10
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/csp/csp_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_suite_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/presets/presets_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/presets/presets_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/presets/presets_test.go#L14
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
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint: KubeArmor/presets/base/basePreset.go#L15
don't use ALL_CAPS in Go names; use CamelCase
go-lint: KubeArmor/common/common.go#L454
parameter 'ContainerRuntime' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/cert/tls.go#L19
type TlsConfig should be TLSConfig
go-lint: KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
go-lint: KubeArmor/cert/tls.go#L41
func NewTlsCredentialManager should be NewTLSCredentialManager
go-lint: KubeArmor/policy/policy.go#L26
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/cert/cert.go#L29
don't use underscores in Go names; const KubeArmor_ORG should be KubeArmorORG
go-lint: KubeArmor/policy/policy.go#L58
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/cert/tls.go#L74
method CreateTlsClientCredentials should be CreateTLSClientCredentials
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-vuln
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-vuln
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-test
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-sec
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum