Skip to content

Update .golangci.yml #202

Update .golangci.yml

Update .golangci.yml #202

Triggered via push May 14, 2024 07:04
Status Failure
Total duration 2m 13s
Artifacts

lint.yml

on: push
golangci-lint
2m 5s
golangci-lint
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: 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: client/keys/show.go#L176
SA1019: sdkerr.IsOf is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: client/keys/show.go#L186
SA1019: sdkerr.Wrap is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: x/feegrant/keeper/keeper.go#L71
SA1019: sdkerrors.IsOf is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint: snapshots/store.go#L263
directive `//nolint:staticcheck` is unused for linter "staticcheck" (nolintlint)
golangci-lint
issues found
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/.