Apply changes from PR #328 to the cli module. #525
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| ci_stable: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ macos-latest, windows-latest, windows-11-arm, ubuntu-latest, ubuntu-24.04-arm ] | |
| steps: | |
| - name: Fetch head | |
| uses: actions/checkout@v6 | |
| - name: Install rust stable | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| components: rustfmt, clippy | |
| - name: Format check | |
| run: cargo fmt --check | |
| - name: Clippy check | |
| run: cargo clippy --no-deps --all-targets --all-features -- -D warnings | |
| - name: Build all targets | |
| run: cargo build --all-targets --all-features --verbose | |
| - name: Run tests | |
| run: cargo test --verbose | |
| ci_msrv: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch head | |
| uses: actions/checkout@v6 | |
| - name: Install rust MSRV | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: 1.88 | |
| components: clippy | |
| - name: Clippy check | |
| run: cargo clippy --no-deps --all-targets --all-features -- -D warnings |