Skip to content

Fix git workflow

Fix git workflow #4985

Triggered via pull request July 31, 2024 12:07
Status Failure
Total duration 2m 11s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
lint: app/params/config.go#L4
import 'cosmossdk.io/errors' is not allowed from list 'Main' (depguard)
lint: app/params/config.go#L5
import 'github.com/cosmos/cosmos-sdk/types' is not allowed from list 'Main' (depguard)
lint: app/params/config.go#L6
import 'github.com/cosmos/cosmos-sdk/types/address' is not allowed from list 'Main' (depguard)
lint: app/params/config.go#L7
import 'github.com/cosmos/cosmos-sdk/types/errors' is not allowed from list 'Main' (depguard)
lint: app/params/encoding.go#L4
import 'github.com/cosmos/cosmos-sdk/client' is not allowed from list 'Main' (depguard)
lint: app/params/encoding.go#L5
import 'github.com/cosmos/cosmos-sdk/codec' is not allowed from list 'Main' (depguard)
lint: app/params/encoding.go#L6
import 'github.com/cosmos/cosmos-sdk/codec/types' is not allowed from list 'Main' (depguard)
lint: app/params/encoding.go#L7
import 'github.com/cosmos/cosmos-sdk/x/auth/tx' is not allowed from list 'Main' (depguard)
lint: app/upgrades/types.go#L4
import 'github.com/cosmos/cosmos-sdk/store/types' is not allowed from list 'Main' (depguard)
lint: x/epochs/types/codec.go#L4
import 'github.com/cosmos/cosmos-sdk/codec' is not allowed from list 'Main' (depguard)
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, 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/
lint
The process '/usr/bin/git' failed with exit code 128
lint: x/epochs/keeper/epoch.go#L67
unused-parameter: parameter 'index' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/epochs/client/cli/query.go#L55
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/epochs/abci.go#L17
unused-parameter: parameter 'index' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/epochs/handler.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: app/upgrades/testnet/v6/upgrades.go#L19
unused-parameter: parameter 'plan' seems to be unused, consider removing or renaming it as _ (revive)
lint: app/upgrades/testnet/v3/fork.go#L22
unused-parameter: parameter 'plan' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/pylons/types/cel_decls.go#L38
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/pylons/types/cel_decls.go#L226
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: app/upgrades/testnet/v5/upgrades.go#L31
unused-parameter: parameter 'plan' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/pylons/keeper/cookbook.go#L26
var-naming: method getCookbookIdsByAddr should be getCookbookIDsByAddr (revive)