fix(deps): update rust dependencies (non-major) #188
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] # Temporarily disabled — pre-push hook runs tests locally | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: # Manual trigger when ready | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: -Dwarnings | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy, rustfmt, llvm-tools-preview | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Install cargo-llvm-cov | |
| uses: taiki-e/install-action@cargo-llvm-cov | |
| - name: Security check (advisories + licenses + bans + sources) | |
| uses: EmbarkStudios/cargo-deny-action@v2 | |
| - name: Doc sync check | |
| run: bash scripts/check-docs.sh | |
| - name: Format | |
| run: cargo fmt --check | |
| - name: Clippy | |
| run: cargo clippy --all-targets | |
| - name: Tests with coverage | |
| run: cargo llvm-cov --lcov --output-path lcov.info | |
| - name: Build release | |
| run: cargo build --release |