feat: upgrade go version to 1.20 #1407
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 / staticcheck
2m 23s
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.
|