Skip to content

feat: add go and release workflow #1

feat: add go and release workflow

feat: add go and release workflow #1

Triggered via pull request January 12, 2024 13:58
Status Failure
Total duration 1m 13s
Artifacts

go-ci.yml

on: pull_request
Build and Test
1m 2s
Build and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Build and Test: pkg/apiserver/apiserver.go#L102
Error return value of `w.Write` is not checked (errcheck)
Build and Test: pkg/apiserver/apiserver.go#L122
Error return value of `w.Write` is not checked (errcheck)
Build and Test: pkg/updater/updater_test.go#L123
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
Build and Test: pkg/settler/settler.go#L180
lostcancel: the unsub function is not used on all paths (possible context leak) (govet)
Build and Test: pkg/settler/settler.go#L186
lostcancel: this return statement may be reached without using the unsub var defined on line 180 (govet)
Build and Test: pkg/updater/updater.go#L84
lostcancel: the unsub function is not used on all paths (possible context leak) (govet)
Build and Test: pkg/updater/updater.go#L90
lostcancel: this return statement may be reached without using the unsub var defined on line 84 (govet)
Build and Test: pkg/node/node.go#L86
lostcancel: the cancel function is not used on all paths (possible context leak) (govet)
Build and Test: pkg/node/node.go#L101
lostcancel: this return statement may be reached without using the cancel var defined on line 86 (govet)
Build and Test
issues found
Build and Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build and Test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/