Bump golangci/golangci-lint-action from 3 to 4 #89
Annotations
4 errors and 11 warnings
golangci-lint:
x/staking/simulation/genesis_test.go#L103
G601: Implicit memory aliasing in for loop. (gosec)
|
golangci-lint:
x/distribution/simulation/genesis_test.go#L79
G601: Implicit memory aliasing in for loop. (gosec)
|
golangci-lint:
x/slashing/simulation/genesis_test.go#L81
G601: Implicit memory aliasing in for loop. (gosec)
|
golangci-lint
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint:
x/slashing/client/cli/tx.go#L36
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/slashing/client/cli/query.go#L83
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/slashing/client/cli/query.go#L121
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/slashing/keeper/querier.go#L76
unused-parameter: parameter 'consAddr' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/slashing/keeper/grpc_query.go#L61
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/slashing/keeper/genesis.go#L13
unused-parameter: parameter 'index' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/staking/types/keys.go#L368
var-naming: func GetTokenizeShareRecordIdsByOwnerPrefix should be GetTokenizeShareRecordIDsByOwnerPrefix (revive)
|
golangci-lint:
x/staking/keeper/test_common.go#L33
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (revive)
|
golangci-lint:
x/staking/keeper/grpc_query.go#L41
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/staking/keeper/grpc_query.go#L102
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading