enable golangci #4
Annotations
10 errors and 1 warning
golangci-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)
|
golangci-lint:
platform/view/services/grpc/tlsgen/ca_test.go#L47
Error return value of `srv.Serve` is not checked (errcheck)
|
golangci-lint:
platform/view/services/grpc/tlsgen/ca_test.go#L62
SA1019: grpc.DialContext is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
|
golangci-lint:
integration/fabric/events/chaincode/chaincode/events/events.go#L23
Error return value of `(github.com/hyperledger/fabric-chaincode-go/shim.ChaincodeStubInterface).SetEvent` is not checked (errcheck)
|
golangci-lint:
integration/fabric/events/chaincode/chaincode/events/events.go#L28
Error return value of `(github.com/hyperledger/fabric-chaincode-go/shim.ChaincodeStubInterface).SetEvent` is not checked (errcheck)
|
golangci-lint:
integration/fabric/events/chaincode/newChaincode/events/events.go#L23
Error return value of `(github.com/hyperledger/fabric-chaincode-go/shim.ChaincodeStubInterface).SetEvent` is not checked (errcheck)
|
golangci-lint:
platform/view/core/config/provider.go#L164
Error return value is not checked (errcheck)
|
golangci-lint:
integration/nwo/fabric/packager/ccmetadata/validators_test.go#L22
Error return value is not checked (errcheck)
|
golangci-lint:
integration/nwo/fabric/packager/ccmetadata/validators_test.go#L23
Error return value is not checked (errcheck)
|
golangci-lint:
platform/view/services/server/web/middleware/chain_test.go#L55
Error return value of `w.Write` is not checked (errcheck)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading