Skip to content

feat: upgrade go version to 1.20 #1407

feat: upgrade go version to 1.20

feat: upgrade go version to 1.20 #1407

Re-run triggered July 19, 2023 02:50
Status Failure
Total duration 2m 51s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

reviewdog.yml

on: pull_request
runner / golangci-lint
2m 39s
runner / golangci-lint
runner / staticcheck
2m 23s
runner / staticcheck
Fit to window
Zoom out
Zoom in

Annotations

2 errors
runner / staticcheck: pkg/util/bytesconv/bytesconv_test.go#L50
[staticcheck] reported by reviewdog 🐶 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. Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"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. ","code":{"value":"SA1019","url":"https://staticcheck.io/docs/checks#SA1019"},"location":{"path":"/home/runner/work/arana/arana/pkg/util/bytesconv/bytesconv_test.go","range":{"start":{"line":50,"column":3}}},"severity":"ERROR"}
runner / staticcheck
Process completed with exit code 1.