Merge pull request #1 from cloudbridgeuy/codex/tooling-baseline-2026-… #58
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: | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| fmt: | |
| name: Formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install pinned Rust toolchain | |
| run: rustup show active-toolchain | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install pinned Rust toolchain | |
| run: rustup show active-toolchain | |
| - name: Check lints | |
| run: cargo clippy --workspace --all-targets -- -D warnings | |
| test: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install pinned Rust toolchain | |
| run: rustup show active-toolchain | |
| - name: Run tests | |
| run: cargo test --workspace --all-targets | |
| docs: | |
| name: Rustdoc | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTDOCFLAGS: -D warnings | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install pinned Rust toolchain | |
| run: rustup show active-toolchain | |
| - name: Build documentation | |
| run: cargo doc --workspace --no-deps | |
| deny: | |
| name: Dependency Policy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Check advisories, licenses, bans, and sources | |
| uses: EmbarkStudios/cargo-deny-action@v2 |