Skip to content

Testing branch

Testing branch #6

Triggered via pull request February 8, 2024 20:39
Status Failure
Total duration 2m 26s
Artifacts

ci-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 20 warnings
unit-tests
missing go.sum entry for module providing package github.com/kyverno/kyverno/api/kyverno/v1 (imported by github.com/accuknox/auto-policy-discovery/src/types); to add:
unit-tests
Process completed with exit code 2.
go-fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
go-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
go-lint: vm/getscript.go#L72
parameter 'options' seems to be unused, consider removing or renaming it as _
go-lint: cmd/log.go#L18
parameter 'args' seems to be unused, consider removing or renaming it as _
go-lint: cmd/log.go#L18
parameter 'cmd' seems to be unused, consider removing or renaming it as _
go-lint: install/install.go#L1289
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
go-lint: install/defaults.go#L10
exported var KubeArmorOperatorClusterRoleName should have comment or be unexported
go-lint: profile/Client/profileClient.go#L397
exported method Profile.MarshalText should have comment or be unexported
go-lint: cmd/root.go#L17
parameter 'cmd' seems to be unused, consider removing or renaming it as _
go-lint: cmd/recommend.go#L21
parameter 'cmd' seems to be unused, consider removing or renaming it as _
go-lint: cmd/policy.go#L28
parameter 'cmd' seems to be unused, consider removing or renaming it as _
go-lint: cmd/selfupdate.go#L16
parameter 'cmd' seems to be unused, consider removing or renaming it as _
go-sec
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-sec
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
go-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/