Prepare for an automated release process #1
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: Main Tests | |
| on: | |
| push: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | |
| jobs: | |
| stable-test-lint: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Download Toolchain | |
| run: | | |
| rustup set profile minimal | |
| rustup toolchain install stable --component clippy --component rustfmt | |
| rustup default stable | |
| rustc --version | |
| - name: Check | |
| run: cargo check | |
| - name: Test | |
| run: cargo test | |
| - name: Clippy | |
| run: cargo clippy | |
| msrv-test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Download Toolchain | |
| run: | | |
| rustup set profile minimal | |
| rustup toolchain install 1.70.0 | |
| rustup default 1.70.0 | |
| rustc --version | |
| - name: Check | |
| run: cargo check | |
| - name: Test | |
| run: cargo test |