Keep the CLI tests independent of the CI variable #31
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: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install Rust | |
| run: rustup toolchain install stable --profile minimal --component rustfmt,clippy | |
| - run: cargo +stable fmt --check | |
| - run: cargo +stable clippy --locked --all-targets -- -D warnings | |
| - run: cargo +stable test --locked | |
| - run: cargo +stable package --locked | |
| msrv: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - run: rustup toolchain install 1.90.0 --profile minimal | |
| - run: cargo +1.90.0 check --locked |