Skip to content

Merge pull request #1719 from Ankurk99/main #222

Merge pull request #1719 from Ankurk99/main

Merge pull request #1719 from Ankurk99/main #222

Triggered via push April 13, 2024 18:10
Status Success
Total duration 1m 50s
Artifacts

ci-test-go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 34 warnings
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-vuln: protobuf/kubearmor_grpc.pb.go#L12
could not import google.golang.org/grpc/codes (invalid package name: "")
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-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/blockposture/block_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/visibility/visibility_test.go#L11
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/privileged/privileged_test.go#L12
should not use dot imports
go-lint-tests: tests/util/kartutil.go#L221
exported function AnnotationsMatch should have comment or be unexported
go-lint-tests: tests/k8s_env/visibility/visibility_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#L13
should not use dot imports
go-lint-tests: tests/k8s_env/smoke/smoke_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-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#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/cert/tls.go#L19
type TlsConfig should be TLSConfig
go-lint: KubeArmor/policy/policy.go#L52
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/cert/tls.go#L41
func NewTlsCredentialManager should be NewTLSCredentialManager
go-lint: KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
go-lint: KubeArmor/cert/cert.go#L29
don't use underscores in Go names; const KubeArmor_CN should be KubeArmorCN
go-lint: KubeArmor/cert/cert.go#L28
don't use underscores in Go names; const KubeArmor_ORG should be KubeArmorORG
go-lint: KubeArmor/cert/tls.go#L88
method CreateTlsServerCredentials should be CreateTLSServerCredentials
go-lint: KubeArmor/cert/tls.go#L74
method CreateTlsClientCredentials should be CreateTLSClientCredentials
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