Skip to content

use 1.21

use 1.21 #201

Triggered via push May 13, 2024 13:31
Status Failure
Total duration 2m 25s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci-lint: internal/conv/string.go#L12
SA1019: reflect.StringHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.20: Use unsafe.String or unsafe.StringData instead. (staticcheck)
golangci-lint: internal/conv/string.go#L13
SA1019: reflect.SliceHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.17: Use unsafe.Slice or unsafe.SliceData instead. (staticcheck)
golangci-lint: store/types/errors.go#L9
SA1019: sdkerrors.Register is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: store/tracekv/store.go#L191
SA1019: errors.Wrap is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: store/tracekv/store.go#L195
SA1019: errors.Wrap is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: store/tracekv/store.go#L199
SA1019: errors.Wrap is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: types/address/hash.go#L30
SA1019: errors.AssertNil is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: types/address/hash.go#L35
SA1019: errors.AssertNil is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: types/address/hash.go#L37
SA1019: errors.AssertNil is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: crypto/keys/ed25519/ed25519.go#L212
SA1019: errors.Wrap is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.