Skip to content

[Feature] Command Line Interface (CLI) #2141

[Feature] Command Line Interface (CLI)

[Feature] Command Line Interface (CLI) #2141

Triggered via pull request October 15, 2024 13:35
Status Failure
Total duration 11m 58s
Artifacts

check.yml

on: pull_request
Matrix: clippy
Matrix: msrv
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
you seem to be trying to use `match` for an equality check. Consider using `if`: cw-orch-cli/src/commands/action/cosmwasm/instantiate/mod.rs#L86
error: you seem to be trying to use `match` for an equality check. Consider using `if` --> cw-orch-cli/src/commands/action/cosmwasm/instantiate/mod.rs:86:9 | 86 | / match inquire::Confirm::new("Would you like to save address in Address Book?").prompt()? { 87 | | true => { 88 | | let alias = inquire::Text::new("Input new contract alias") 89 | | // Use label as default value ... | 94 | | false => (), 95 | | }; | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `-D clippy::single-match` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::single_match)]` help: try | 86 ~ if inquire::Confirm::new("Would you like to save address in Address Book?").prompt()? == true { 87 + let alias = inquire::Text::new("Input new contract alias") 88 + // Use label as default value 89 + .with_initial_value(&scope.label) 90 + .prompt()?; 91 + address_book::try_insert_account_id(chain.chain_info(), &alias, address.as_str())?; 92 ~ }; |
beta / clippy
Clippy had exited with the 101 exit code
beta / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
beta / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
stable / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/