Skip to content

Add golangci-lint

Add golangci-lint #6

Triggered via pull request September 21, 2024 20:09
Status Failure
Total duration 31s
Artifacts

lint.yml

on: pull_request
golangci-lint
22s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
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/akash/akash.go#L77
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: services/delegation.go#L47
SA9003: empty branch (staticcheck)
golangci-lint: services/ibc.go#L47
SA9003: empty branch (staticcheck)
golangci-lint: services/ibc.go#L85
SA9003: empty branch (staticcheck)
golangci-lint: config/main.go#L154
ineffectual assignment to found (ineffassign)
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/