Skip to content

ci(lint): make tolerant of deprecations #527

ci(lint): make tolerant of deprecations

ci(lint): make tolerant of deprecations #527

Triggered via pull request August 3, 2024 01:53
Status Failure
Total duration 4m 22s
Artifacts

lint.yml

on: pull_request
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 1 warning
golangci-lint (no-deprecations): crypto/keys/bcrypt/bcrypt.go#L17
directive `//nolint:staticcheck // used in original https://cs.opensource.google/go/x/crypto/+/master:bcrypt/bcrypt.go` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-deprecations): server/grpc/gogoreflection/fix_registration.go#L12
directive `// nolint: staticcheck` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-deprecations): server/grpc/gogoreflection/fix_registration.go#L89
directive `// nolint: staticcheck` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-deprecations): server/grpc/gogoreflection/fix_registration.go#L98
directive `// nolint: staticcheck` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-deprecations): server/grpc/gogoreflection/fix_registration.go#L110
directive `// nolint: staticcheck` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-deprecations): server/grpc/gogoreflection/fix_registration.go#L136
directive `// nolint: staticcheck` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-deprecations): server/grpc/gogoreflection/serverreflection.go#L49
directive `// nolint: staticcheck` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-deprecations): codec/proto_codec.go#L9
directive `//nolint:staticcheck` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-deprecations): crypto/keys/secp256k1/secp256k1.go#L13
directive `// nolint: staticcheck // necessary for Bitcoin address format` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-deprecations): crypto/codec/amino.go#L29
directive `//nolint:staticcheck` is unused for linter "staticcheck" (nolintlint)
golangci-lint (no-failure)
The job was canceled because "no-deprecations" failed.
golangci-lint (no-failure): baseapp/abci.go#L277
SA1019: sdkerrors.SuccessABCICode is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint (no-failure): server/grpc/gogoreflection/serverreflection.go#L390
SA1019: rpb.ServerReflectionResponse is deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. (staticcheck)
golangci-lint (no-failure): server/grpc/gogoreflection/serverreflection.go#L391
SA1019: in.Host is deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. (staticcheck)
golangci-lint (no-failure): server/grpc/gogoreflection/serverreflection.go#L396
SA1019: req.FileByFilename is deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. (staticcheck)
golangci-lint (no-failure): server/grpc/gogoreflection/serverreflection.go#L399
SA1019: rpb.ErrorResponse is deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. (staticcheck)
golangci-lint (no-failure): server/grpc/gogoreflection/serverreflection.go#L406
SA1019: rpb.FileDescriptorResponse is deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. (staticcheck)
golangci-lint (no-failure): server/grpc/gogoreflection/serverreflection.go#L410
SA1019: req.FileContainingSymbol is deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. (staticcheck)
golangci-lint (no-failure): server/grpc/gogoreflection/serverreflection.go#L413
SA1019: rpb.ErrorResponse is deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. (staticcheck)
golangci-lint (no-failure): server/grpc/gogoreflection/serverreflection.go#L420
SA1019: rpb.FileDescriptorResponse is deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. (staticcheck)
golangci-lint (no-failure): server/grpc/gogoreflection/serverreflection.go#L424
SA1019: req.FileContainingExtension.ContainingType is deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated. (staticcheck)
golangci-lint (no-deprecations)
The following actions uses Node.js version which is deprecated 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/