Skip to content

feat: add testnetify logic #1483

feat: add testnetify logic

feat: add testnetify logic #1483

Triggered via pull request January 29, 2024 18:20
Status Failure
Total duration 47s
Artifacts

lint.yml

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

Annotations

10 errors and 1 warning
golangci-lint: x/auth/vesting/types/period.go#L179
ifElseChain: rewrite if-else to switch statement (gocritic)
golangci-lint: x/auth/vesting/types/period.go#L278
ifElseChain: rewrite if-else to switch statement (gocritic)
golangci-lint: x/auth/vesting/types/vesting_account.go#L620
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/auth/vesting/types/vesting_account.go#L705
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/auth/vesting/types/vesting_account.go#L781
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/auth/vesting/types/period.go#L257
`minumum` is a misspelling of `minimum` (misspell)
golangci-lint: x/auth/vesting/types/period.go#L300
naked return in func `ConjunctPeriods` with 100 lines of code (nakedret)
golangci-lint: x/auth/vesting/types/vesting_account.go#L15
ST1019: package "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" is being imported more than once (stylecheck)
golangci-lint: x/auth/vesting/types/vesting_account.go#L16
ST1019(related information): other import of "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" (stylecheck)
golangci-lint: x/staking/keeper/delegation.go#L850
File is not `gofumpt`-ed (gofumpt)
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, 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/.