Skip to content

ci: add linter

ci: add linter #1240

Re-run triggered February 7, 2024 20:48
Status Failure
Total duration 49s
Artifacts

main.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 2 warnings
build (ubuntu-20.04): internal/rps/executor.go#L49
Error return value of `client.localManagement.Initialize` is not checked (errcheck)
build (ubuntu-20.04): internal/rps/rps_test.go#L153
Error return value of `server.Send` is not checked (errcheck)
build (ubuntu-20.04): internal/rps/rps_test.go#L174
Error return value of `server.Send` is not checked (errcheck)
build (ubuntu-20.04): internal/rps/rps_test.go#L182
Error return value of `server.Connect` is not checked (errcheck)
build (ubuntu-20.04): internal/rps/rps_test.go#L192
Error return value of `server.Connect` is not checked (errcheck)
build (ubuntu-20.04): internal/rps/rps_test.go#L202
Error return value of `server.Connect` is not checked (errcheck)
build (ubuntu-20.04): internal/rps/rps.go#L53
S1023: redundant break statement (gosimple)
build (ubuntu-20.04): internal/rps/rps.go#L56
S1023: redundant break statement (gosimple)
build (ubuntu-20.04): internal/rps/rps.go#L67
S1023: redundant break statement (gosimple)
build (ubuntu-20.04): internal/lm/engine.go#L49
Error return value of `binary.Write` is not checked (errcheck)
build (windows-2022)
The job was canceled because "ubuntu-20_04" failed.
build (windows-2022)
The operation was canceled.
build (windows-2019)
The job was canceled because "ubuntu-20_04" failed.
build (windows-2019)
The operation was canceled.
build (ubuntu-22.04)
The job was canceled because "ubuntu-20_04" failed.
build (ubuntu-22.04)
The operation was canceled.
build (ubuntu-20.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (ubuntu-20.04)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2