Skip to content

feat: go.mod updated #34

feat: go.mod updated

feat: go.mod updated #34

Triggered via push April 15, 2024 08:35
Status Failure
Total duration 1m 29s
Artifacts

lint.yml

on: push
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint (Go 1.21.x): base/address.go#L71
error returned from interface method should be wrapped: sig: func (github.com/ProtoconNet/mitum2/util/encoder.Encoder).DecodeWithFixedHintType(string, int) (interface{}, error) (wrapcheck)
Lint (Go 1.21.x): base/address.go#L76
error returned from external package is unwrapped: sig: func github.com/ProtoconNet/mitum2/util.SetInterfaceValue[T any](v interface{}, t *T) error (wrapcheck)
Lint (Go 1.21.x): base/ballot_isvalid.go#L146
error returned from interface method should be wrapped: sig: func (github.com/ProtoconNet/mitum2/util.IsValider).IsValid([]byte) error (wrapcheck)
Lint (Go 1.21.x): base/base_node.go#L51
error returned from external package is unwrapped: sig: func github.com/ProtoconNet/mitum2/util.MarshalJSON(v interface{}) ([]byte, error) (wrapcheck)
Lint (Go 1.21.x): base/base_operation_json.go#L30
error returned from external package is unwrapped: sig: func github.com/ProtoconNet/mitum2/util.MarshalJSON(v interface{}) ([]byte, error) (wrapcheck)
Lint (Go 1.21.x): base/base_operation_json.go#L41
error returned from interface method should be wrapped: sig: func (github.com/ProtoconNet/mitum2/util/encoder.Encoder).Unmarshal([]byte, interface{}) error (wrapcheck)
Lint (Go 1.21.x): base/base_operation_json.go#L77
error returned from external package is unwrapped: sig: func github.com/ProtoconNet/mitum2/util.MarshalJSON(v interface{}) ([]byte, error) (wrapcheck)
Lint (Go 1.21.x): base/base_state.go#L166
error returned from external package is unwrapped: sig: func github.com/ProtoconNet/mitum2/util.MarshalJSON(v interface{}) ([]byte, error) (wrapcheck)
Lint (Go 1.21.x): base/network_id.go#L5
File is not `goimports`-ed with -local github.com/org/project (goimports)
Lint (Go 1.21.x): base/network_id.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Lint (Go 1.21.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.