Merge pull request #5 from brotskydotcom/version-bump #12
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: CI | |
| on: [ workflow_dispatch, push, pull_request ] | |
| jobs: | |
| ci_stable: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch head | |
| uses: actions/checkout@v5 | |
| - 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 -- -D warnings | |
| - name: Build and Test | |
| run: cargo test --verbose | |
| - name: Build examples | |
| run: cargo build --examples --verbose | |
| ci_msrv: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch head | |
| uses: actions/checkout@v5 | |
| - name: Install rust MSRV | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: 1.85 | |
| components: clippy | |
| - name: Clippy check | |
| run: cargo clippy --no-deps --all-targets -- -D warnings |