enable golangci #5
Annotations
10 errors and 1 warning
lint:
pkg/utils/proto/proto.go#L11
SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead. (staticcheck)
|
lint:
integration/nwo/common/runner/runner.go#L126
printf: non-constant format string in call to (*github.com/onsi/gomega/gbytes.Buffer).Detect (govet)
|
lint:
platform/view/core/manager/context.go#L140
printf: non-constant format string in call to github.com/pkg/errors.Errorf (govet)
|
lint:
platform/view/services/comm/host/rest/websocket/streamreader.go#L55
printf: non-constant format string in call to github.com/pkg/errors.Errorf (govet)
|
lint:
platform/view/services/db/driver/sql/postgres/errormapper.go#L28
printf: non-constant format string in call to github.com/hyperledger-labs/fabric-smart-client/pkg/utils/errors.Wrapf (govet)
|
lint:
platform/view/services/db/driver/sql/postgres/errormapper.go#L30
printf: non-constant format string in call to github.com/hyperledger-labs/fabric-smart-client/pkg/utils/errors.Wrapf (govet)
|
lint:
platform/view/services/db/driver/sql/sqlite/errormapper.go#L21
printf: non-constant format string in call to github.com/hyperledger-labs/fabric-smart-client/pkg/utils/errors.Wrapf (govet)
|
lint:
platform/view/services/grpc/client.go#L105
SA1019: grpc.WithBlock is deprecated: this DialOption is not supported by NewClient. Will be supported throughout 1.x. (staticcheck)
|
lint:
platform/view/services/grpc/client.go#L107
SA1019: grpc.FailOnNonTempDialError is deprecated: this DialOption is not supported by NewClient. This API may be changed or removed in a later release. (staticcheck)
|
lint:
platform/view/services/grpc/client.go#L330
SA1019: grpc.DialContext is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|