chore(deps): bump the rust-dependencies group across 1 directory with 8 updates #114
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: Rust | |
| on: | |
| push: | |
| paths: | |
| - "cli/**" | |
| - "sf/**" | |
| - "server/**" | |
| - "engine/**" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - ".github/workflows/rust.yml" | |
| pull_request: | |
| paths: | |
| - "cli/**" | |
| - "sf/**" | |
| - "server/**" | |
| - "engine/**" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - ".github/workflows/rust.yml" | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| - name: Clippy | |
| run: cargo clippy --all-targets --all-features -- -D warnings | |
| - name: Run tests | |
| run: cargo test --workspace |