Skip to content

upgrade go version to 1.21 #119

upgrade go version to 1.21

upgrade go version to 1.21 #119

Triggered via pull request March 13, 2024 13:19
Status Success
Total duration 1m 28s
Artifacts

ci-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
go-fmt
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-fmt
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-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/kubearmor-relay-server/kubearmor-relay-server. 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@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: relay-server/log/logger.go#L4
should have a package comment
go-lint: relay-server/main.go#L4
should have a package comment
go-lint: relay-server/main.go#L57
var esUrl should be esURL
go-lint: relay-server/elasticsearch/adapter.go#L29
type name will be used as elasticsearch.ElasticsearchClient by other packages, and that stutters; consider calling this Client
go-lint: relay-server/common/common.go#L4
should have a package comment
go-lint: relay-server/elasticsearch/adapter.go#L93
parameter 'ctx' seems to be unused, consider removing or renaming it as _
go-lint: relay-server/elasticsearch/adapter.go#L1
should have a package comment
go-lint: relay-server/elasticsearch/adapter.go#L93
parameter 'res' seems to be unused, consider removing or renaming it as _
go-lint: relay-server/elasticsearch/adapter.go#L93
parameter 'item' seems to be unused, consider removing or renaming it as _
go-lint: relay-server/elasticsearch/adapter.go#L96
parameter 'item' 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. 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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/kubearmor-relay-server/kubearmor-relay-server. Supported file pattern: go.sum