update code #753
lint.yml
on: pull_request
Run golangci-lint
2m 46s
Run super-linter
9s
Annotations
10 errors and 5 warnings
Run golangci-lint:
x/reward/client/cli/query_reward.go#L125
var-naming: var argCampaignId should be argCampaignID (revive)
|
Run golangci-lint:
x/reward/types/key_reward.go#L80
func `getSignupAffiliateRewardOneTimeKey` is unused (unused)
|
Run golangci-lint:
x/reward/types/key_reward.go#L72
func `getSignupRewardOneTimeKey` is unused (unused)
|
Run golangci-lint:
x/reward/types/key_reward.go#L76
func `getSignupReferralRewardOneTimeKey` is unused (unused)
|
Run golangci-lint:
x/reward/keeper/view.go#L23
func `Keeper.getRewardOneTimeStore` is unused (unused)
|
Run golangci-lint:
x/reward/types/reward_affiliate.go#L44
printf: cosmossdk.io/errors.Wrapf format %s has arg &payload.Common.Receiver of wrong type *string (govet)
|
Run golangci-lint:
x/reward/types/reward_referral.go#L44
printf: cosmossdk.io/errors.Wrapf format %s has arg &payload.Common.Receiver of wrong type *string (govet)
|
Run golangci-lint:
x/reward/types/reward_signup.go#L41
printf: cosmossdk.io/errors.Wrapf format %s has arg &payload.Common.Receiver of wrong type *string (govet)
|
Run golangci-lint:
x/reward/keeper/msg_server_campaign.go#L113
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
|
Run golangci-lint:
x/reward/keeper/query_reward.go#L90
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
|
Run golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: technote-space/get-diff-action@v6.0.1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|