Skip to content

add SetReadHeaderTimeout #40

add SetReadHeaderTimeout

add SetReadHeaderTimeout #40

Triggered via push October 8, 2024 11:21
Status Failure
Total duration 2m 40s
Artifacts
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
lint (1.20): v2_test.go#L54
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
lint (1.20): protocol_test.go#L14
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (1.20)
issues found
lint (1.19)
The job was canceled because "_1_20" failed.
lint (1.19): protocol_test.go#L14
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (1.19)
issues found
lint (1.20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/