Skip to content

chore(ci): add github workflow #1

chore(ci): add github workflow

chore(ci): add github workflow #1

Triggered via pull request June 14, 2024 07:47
Status Failure
Total duration 2m 53s
Artifacts

golangci_lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: app/app.go#L138
field `invCheckPeriod` is unused (unused)
golangci-lint: app/app.go#L497
S1021: should merge variable declaration with assignment on next line (gosimple)
golangci-lint: cmd/lorenzod/main.go#L15
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
golangci-lint: types/btc_config.go#L35
`netowrk` is a misspelling of `network` (misspell)
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/grpc_server.go#L58
Error return value of `it.Close` is not checked (errcheck)
golangci-lint: x/agent/keeper/keeper.go#L16
field `authority` is unused (unused)
golangci-lint: x/agent/keeper/msg_server.go#L53
Error return value of `(*github.com/cosmos/cosmos-sdk/types.EventManager).EmitTypedEvent` is not checked (errcheck)
golangci-lint: x/agent/keeper/msg_server.go#L98
Error return value of `(*github.com/cosmos/cosmos-sdk/types.EventManager).EmitTypedEvent` is not checked (errcheck)
golangci-lint: x/agent/keeper/msg_server.go#L129
Error return value of `(*github.com/cosmos/cosmos-sdk/types.EventManager).EmitTypedEvent` is not checked (errcheck)