Skip to content

Return errors instead of printing to logs #67

Return errors instead of printing to logs

Return errors instead of printing to logs #67

Triggered via pull request March 19, 2024 18:13
Status Failure
Total duration 38s
Artifacts

verify.yml

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

Annotations

14 errors and 1 warning
lint (1.21): server_test.go#L46
missing type in composite literal (typecheck)
lint (1.21): server_test.go#L47
missing type in composite literal (typecheck)
lint (1.21): server_test.go#L48
missing type in composite literal (typecheck)
lint (1.21): client_server_test.go#L153
s.Close undefined (type *cstServer has no field or method Close) (typecheck)
lint (1.21): client_server_test.go#L191
s.Close undefined (type *cstServer has no field or method Close) (typecheck)
lint (1.21): client_server_test.go#L232
s.Close undefined (type *cstServer has no field or method Close) (typecheck)
lint (1.21)
issues found
lint (1.20)
The job was canceled because "_1_21" failed.
lint (1.20): client.go#L429
Error return value of `netConn.SetDeadline` is not checked (errcheck)
lint (1.20): compression.go#L36
Error return value of `(compress/flate.Resetter).Reset` is not checked (errcheck)
lint (1.20): conn.go#L937
Error return value of `c.WriteControl` is not checked (errcheck)
lint (1.20): conn.go#L998
Error return value of `c.WriteControl` is not checked (errcheck)
lint (1.20)
issues found
lint (1.21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.