Skip to content

upgrade to go 1.22 #126

upgrade to go 1.22

upgrade to go 1.22 #126

Triggered via pull request June 14, 2024 01:28
@jzdingjzding
synchronize #93
jzding:go-1.22
Status Failure
Total duration 35s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Linting: v1/pubsub/pubsub.go#L307
Error return value of `file.Close` is not checked (errcheck)
Linting: v1/pubsub/pubsub.go#L344
Error return value of `file.Close` is not checked (errcheck)
Linting: v1/pubsub/pubsub.go#L362
Error return value of `file.Close` is not checked (errcheck)
Linting: pkg/protocol/http/http.go#L309
Error return value of `h.httpServer.Close` is not checked (errcheck)
Linting: pkg/protocol/http/http.go#L741
Error return value of `response.Body.Close` is not checked (errcheck)
Linting: pkg/protocol/http/http.go#L756
Error return value of `response.Body.Close` is not checked (errcheck)
Linting: pkg/protocol/http/http_test.go#L340
Error return value of `resp.Body.Close` is not checked (errcheck)
Linting: pkg/protocol/http/http_test.go#L389
Error return value of `resp.Body.Close` is not checked (errcheck)
Linting: v1/http/http.go#L130
Error return value of `response.Body.Close` is not checked (errcheck)
Linting: v1/pubsub/pubsub.go#L303
G304: Potential file inclusion via variable (gosec)