chore(ci): add github workflow #2
golangci_lint.yml
on: pull_request
golangci-lint
2m 33s
Annotations
9 errors
golangci-lint:
types/retry/retry.go#L57
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
|
golangci-lint:
x/agent/keeper/msg_server.go#L53
G104: Errors unhandled. (gosec)
|
golangci-lint:
x/agent/keeper/msg_server.go#L98
G104: Errors unhandled. (gosec)
|
golangci-lint:
x/agent/keeper/msg_server.go#L129
G104: Errors unhandled. (gosec)
|
golangci-lint:
x/btclightclient/keeper/triggers.go#L32
Error return value of `(*github.com/cosmos/cosmos-sdk/types.EventManager).EmitTypedEvent` is not checked (errcheck)
|
golangci-lint:
x/btcstaking/keeper/params.go#L20
S1009: should omit nil check; len() for []byte is defined as zero (gosimple)
|
golangci-lint:
x/plan/keeper/plan.go#L72
Error return value of `iterator.Close` is not checked (errcheck)
|
golangci-lint:
x/plan/keeper/yat.go#L72
ineffectual assignment to err (ineffassign)
|
golangci-lint
issues found
|