Skip to content

Fix ci

Fix ci #165

Triggered via pull request July 9, 2024 05:47
Status Failure
Total duration 4m 56s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
golangci-lint: x/btcbridge/types/runes.go#L80
assignOp: replace `i = i + 4` with `i += 4` (gocritic)
golangci-lint: x/btcbridge/types/message_update_params.go#L34
SA1019: sdkerrors.Wrap is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint
issues found
golangci-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, technote-space/get-diff-action@v6, 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/
golangci-lint: x/btcbridge/types/runes.go#L123
var-naming: func parameter runeId should be runeID (revive)
golangci-lint: x/btcbridge/types/errors.go#L44
var-naming: var ErrInvalidRuneId should be ErrInvalidRuneID (revive)
golangci-lint: x/btcbridge/types/message_update_params.go#L21
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgUpdateParamsRequest (revive)
golangci-lint: x/btcbridge/types/bitcoin_transaction.go#L70
var-naming: func parameter runeId should be runeID (revive)
golangci-lint: x/btcbridge/types/bitcoin_transaction.go#L268
var-naming: func parameter runeId should be runeID (revive)
golangci-lint: x/btcbridge/types/message_update_params.go#L26
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgUpdateParamsRequest (revive)
golangci-lint: x/btcbridge/types/message_update_params.go#L32
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgUpdateParamsRequest (revive)
golangci-lint: x/btcbridge/keeper/utxo.go#L27
var-naming: interface method parameter runeId should be runeID (revive)
golangci-lint: x/btcbridge/keeper/utxo.go#L144
var-naming: method parameter runeId should be runeID (revive)
golangci-lint: x/btcbridge/keeper/keeper_withdraw.go#L98
var-naming: var runeId should be runeID (revive)