Bump the rust-dependencies group with 6 updates #50
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: | |
| # Avoid duplicate builds on PRs. | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Update Rust toolchain | |
| run: rustup update | |
| - name: Rust Cache | |
| uses: Swatinem/[email protected] | |
| - name: Clippy | |
| run: cargo clippy --all-targets --locked -- --deny warnings | |
| - name: rustfmt | |
| run: cargo fmt -- --check | |
| - name: Clippy | |
| run: cargo clippy --all-targets --locked --features bullet_stream -- --deny warnings | |
| unit-test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Update Rust toolchain | |
| run: rustup update | |
| - name: Rust Cache | |
| uses: Swatinem/[email protected] | |
| - name: Run unit tests | |
| run: cargo test --locked | |
| readme-updated: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Update Rust toolchain | |
| run: rustup update | |
| - name: Rust Cache | |
| uses: Swatinem/[email protected] | |
| - name: Install cargo readme | |
| run: cargo install cargo-rdme | |
| - name: Check if README.md is up-to-date (see README.md for updating instructions) | |
| run: cargo rdme -w cache_diff --check |