Skip to content

Add golangci-lint

Add golangci-lint #5

Triggered via pull request September 21, 2024 20:02
Status Failure
Total duration 3m 23s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci-lint: config/main.go#L174
Error return value of `json.Unmarshal` is not checked (errcheck)
golangci-lint: services/akash/akash.go#L38
Error return value of `json.Unmarshal` is not checked (errcheck)
golangci-lint: services/akash/akash.go#L52
Error return value of `json.Unmarshal` is not checked (errcheck)
golangci-lint: services/tx.go#L136
Error return value of `tx.Rollback` is not checked (errcheck)
golangci-lint: services/tx.go#L147
Error return value of `tx.Rollback` is not checked (errcheck)
golangci-lint: services/tx.go#L160
Error return value of `tx.Rollback` is not checked (errcheck)
golangci-lint: types/gravity.go#L94
type `lastClaimEvent` is unused (unused)
golangci-lint: config/main.go#L154
ineffectual assignment to found (ineffassign)
golangci-lint: services/delegation.go#L47
SA9003: empty branch (staticcheck)
golangci-lint: services/ibc.go#L47
SA9003: empty branch (staticcheck)
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/