Add --debug flag to report winning cloud credential source #24
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test CLI | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - "crates/clickhousectl/**" | |
| - "Cargo.lock" | |
| - ".github/workflows/test-cli.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test clickhousectl | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Build | |
| run: cargo build -p clickhousectl | |
| - name: Clippy | |
| run: cargo clippy -p clickhousectl -- -D warnings | |
| - name: Test | |
| run: cargo test -p clickhousectl |