Skip to content

Bump github/super-linter from 5 to 7 #1320

Bump github/super-linter from 5 to 7

Bump github/super-linter from 5 to 7 #1320

Triggered via pull request November 12, 2024 18:26
Status Failure
Total duration 36s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
lint: x/locker/keeper/grpc_query.go#L6
import 'github.com/cosmos/cosmos-sdk/types' is not allowed from list 'Main' (depguard)
lint: x/locker/keeper/grpc_query.go#L10
import 'github.com/comdex-official/comdex/x/asset/types' is not allowed from list 'Main' (depguard)
lint: x/locker/keeper/grpc_query.go#L11
import 'github.com/comdex-official/comdex/x/locker/types' is not allowed from list 'Main' (depguard)
lint: x/locker/keeper/keeper.go#L6
import 'github.com/cometbft/cometbft/libs/log' is not allowed from list 'Main' (depguard)
lint: x/locker/keeper/keeper.go#L7
import 'github.com/cosmos/cosmos-sdk/codec' is not allowed from list 'Main' (depguard)
lint: x/locker/keeper/keeper.go#L8
import 'github.com/cosmos/cosmos-sdk/types' is not allowed from list 'Main' (depguard)
lint: x/locker/keeper/keeper.go#L10
import 'github.com/cosmos/cosmos-sdk/x/params/types' is not allowed from list 'Main' (depguard)
lint: x/locker/keeper/keeper.go#L12
import 'github.com/comdex-official/comdex/x/locker/expected' is not allowed from list 'Main' (depguard)
lint: x/locker/keeper/keeper.go#L13
import 'github.com/comdex-official/comdex/x/locker/types' is not allowed from list 'Main' (depguard)
lint: x/locker/keeper/keeper.go#L14
import 'github.com/cosmos/cosmos-sdk/store/types' is not allowed from list 'Main' (depguard)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], 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
Restore cache failed: Dependencies file is not found in /home/runner/work/comdex/comdex. Supported file pattern: go.sum
lint: x/locker/keeper/params.go#L10
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/locker/keeper/grpc_query.go#L79
var-naming: var lockerIds should be lockerIDs (revive)
lint: x/locker/keeper/grpc_query.go#L143
var-naming: var lockerIds should be lockerIDs (revive)
lint: x/locker/keeper/grpc_query.go#L161
var-naming: var lockerIds should be lockerIDs (revive)
lint: x/locker/keeper/grpc_query.go#L262
var-naming: var assetIds should be assetIDs (revive)
lint: x/rewards/keeper/utils.go#L16
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: x/rewards/keeper/distribution.go#L14
unused-parameter: parameter 'epochCount' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/rewards/keeper/store.go#L152
var-naming: method SetGaugeIdsByTriggerDuration should be SetGaugeIDsByTriggerDuration (revive)
lint: x/rewards/keeper/store.go#L162
var-naming: method GetGaugeIdsByTriggerDuration should be GetGaugeIDsByTriggerDuration (revive)
lint: x/rewards/keeper/gauge.go#L92
var-naming: var childPoolIds should be childPoolIDs (revive)