feat: add go and release workflow #1
Annotations
10 errors and 2 warnings
Lint with golangci-lint v1.54.2:
pkg/apiserver/apiserver.go#L102
Error return value of `w.Write` is not checked (errcheck)
|
Lint with golangci-lint v1.54.2:
pkg/apiserver/apiserver.go#L122
Error return value of `w.Write` is not checked (errcheck)
|
Lint with golangci-lint v1.54.2:
pkg/updater/updater_test.go#L123
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
Lint with golangci-lint v1.54.2:
pkg/settler/settler.go#L180
lostcancel: the unsub function is not used on all paths (possible context leak) (govet)
|
Lint with golangci-lint v1.54.2:
pkg/settler/settler.go#L186
lostcancel: this return statement may be reached without using the unsub var defined on line 180 (govet)
|
Lint with golangci-lint v1.54.2:
pkg/updater/updater.go#L84
lostcancel: the unsub function is not used on all paths (possible context leak) (govet)
|
Lint with golangci-lint v1.54.2:
pkg/updater/updater.go#L90
lostcancel: this return statement may be reached without using the unsub var defined on line 84 (govet)
|
Lint with golangci-lint v1.54.2:
pkg/node/node.go#L86
lostcancel: the cancel function is not used on all paths (possible context leak) (govet)
|
Lint with golangci-lint v1.54.2:
pkg/node/node.go#L101
lostcancel: this return statement may be reached without using the cancel var defined on line 86 (govet)
|
Lint with golangci-lint v1.54.2
issues found
|
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/
|
Lint with golangci-lint v1.54.2
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/
|
The logs for this run have expired and are no longer available.
Loading