Skip to content

Add golangci-lint

Add golangci-lint #73

Triggered via pull request October 28, 2024 16:21
@vtopcvtopc
synchronize #331
vtopc/add-lint
Status Failure
Total duration 47s
Artifacts

main.yml

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

Annotations

21 errors
test (1.22.x, ubuntu-latest): httphelpers.go#L177
Error return value of `tmp.Write` is not checked (errcheck)
test (1.22.x, ubuntu-latest): httphelpers.go#L187
Error return value of `io.Copy` is not checked (errcheck)
test (1.22.x, ubuntu-latest): httphelpers.go#L199
Error return value of `io.Copy` is not checked (errcheck)
test (1.22.x, ubuntu-latest): httphelpers.go#L208
Error return value of `io.Copy` is not checked (errcheck)
test (1.22.x, ubuntu-latest): httphelpers.go#L221
Error return value of `f.getPayloadBuffer` is not checked (errcheck)
test (1.22.x, ubuntu-latest): mock.go#L290
Error return value of `rand.Read` is not checked (errcheck)
test (1.22.x, ubuntu-latest): mock_bounces.go#L56
Error return value of `w.Write` is not checked (errcheck)
test (1.22.x, ubuntu-latest): mock_bounces.go#L106
Error return value of `w.Write` is not checked (errcheck)
test (1.22.x, ubuntu-latest): mock_bounces.go#L118
Error return value of `w.Write` is not checked (errcheck)
test (1.22.x, ubuntu-latest): mock_bounces.go#L125
Error return value of `w.Write` is not checked (errcheck)
test (1.23.x, ubuntu-latest)
The job was canceled because "_1_22_x_ubuntu-latest" failed.
test (1.23.x, ubuntu-latest): httphelpers.go#L177
Error return value of `tmp.Write` is not checked (errcheck)
test (1.23.x, ubuntu-latest): httphelpers.go#L187
Error return value of `io.Copy` is not checked (errcheck)
test (1.23.x, ubuntu-latest): httphelpers.go#L199
Error return value of `io.Copy` is not checked (errcheck)
test (1.23.x, ubuntu-latest): httphelpers.go#L208
Error return value of `io.Copy` is not checked (errcheck)
test (1.23.x, ubuntu-latest): httphelpers.go#L221
Error return value of `f.getPayloadBuffer` is not checked (errcheck)
test (1.23.x, ubuntu-latest): mock.go#L290
Error return value of `rand.Read` is not checked (errcheck)
test (1.23.x, ubuntu-latest): mock_bounces.go#L56
Error return value of `w.Write` is not checked (errcheck)
test (1.23.x, ubuntu-latest): mock_bounces.go#L106
Error return value of `w.Write` is not checked (errcheck)
test (1.23.x, ubuntu-latest): mock_bounces.go#L118
Error return value of `w.Write` is not checked (errcheck)
test (1.23.x, ubuntu-latest): mock_bounces.go#L125
Error return value of `w.Write` is not checked (errcheck)