Skip to content

Merge pull request #76 from skip-mev/zygis/move-to-two-packages #258

Merge pull request #76 from skip-mev/zygis/move-to-two-packages

Merge pull request #76 from skip-mev/zygis/move-to-two-packages #258

Triggered via push January 31, 2024 17:03
Status Failure
Total duration 1m 14s
Artifacts

lint.yml

on: push
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 warnings
golangci-lint (cosmos): cosmos/cosmosutil/consensus.go#L10
Error return value of `cc.Stop` is not checked (errcheck)
golangci-lint (cosmos): cosmos/loadtest/client_factory.go#L60
ineffectual assignment to err (ineffassign)
golangci-lint (cosmos): cosmos/cosmosutil/auth.go#L8
SA1019: authtypes.AccountI is deprecated: Use `AccountI` from types package instead. (staticcheck)
golangci-lint (cosmos): cosmos/cosmosutil/auth.go#L23
SA1019: authtypes.AccountI is deprecated: Use `AccountI` from types package instead. (staticcheck)
golangci-lint (cosmos): cosmos/cosmosutil/wallet.go#L197
SA1019: authtypes.AccountI is deprecated: Use `AccountI` from types package instead. (staticcheck)
golangci-lint (cosmos)
issues found
golangci-lint (core): core/provider/digitalocean/task.go#L394
Error return value of `dockerClient.ContainerRemove` is not checked (errcheck)
golangci-lint (core): core/provider/digitalocean/droplet.go#L17
var `dockerCloudInit` is unused (unused)
golangci-lint (core): core/monitoring/prometheus.go#L23
ineffectual assignment to err (ineffassign)
golangci-lint (core): core/provider/digitalocean/task.go#L352
ineffectual assignment to err (ineffassign)
golangci-lint (core): core/provider/digitalocean/task.go#L427
ineffectual assignment to err (ineffassign)
golangci-lint (core): core/provider/digitalocean/task.go#L56
SA5001: should check returned error before deferring dockerClient.Close() (staticcheck)
golangci-lint (core): core/provider/digitalocean/task.go#L103
SA5001: should check returned error before deferring dockerClient.Close() (staticcheck)
golangci-lint (core): core/provider/digitalocean/task.go#L140
SA5001: should check returned error before deferring dockerClient.Close() (staticcheck)
golangci-lint (core)
issues found
golangci-lint (cosmos)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint (cosmos)
Restore cache failed: Dependencies file is not found in /home/runner/work/petri/petri. Supported file pattern: go.sum
golangci-lint (core)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint (core)
Restore cache failed: Dependencies file is not found in /home/runner/work/petri/petri. Supported file pattern: go.sum