Skip to content

chore(ci): add github workflow #2

chore(ci): add github workflow

chore(ci): add github workflow #2

Triggered via pull request June 14, 2024 09:46
Status Failure
Total duration 2m 43s
Artifacts

golangci_lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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