Skip to content

docs(roadmap): mark Open Order phases 1-2 shipped #61

docs(roadmap): mark Open Order phases 1-2 shipped

docs(roadmap): mark Open Order phases 1-2 shipped #61

Workflow file for this run

# Rust CI for the workspace (at the repo root post-2.0-flip).
# Phase 0 deliverable: "CI from day one — fmt, clippy -D warnings, test,
# sqlx prepare check" (phases/2.0/03-PHASES.md). The sqlx-prepare job is added
# in Phase 0 once bss-db lands; for now we gate fmt + clippy + test.
name: rust
on:
push:
branches: ["main", "2.0"]
paths:
- "crates/**"
- "services/**"
- "portals/**"
- "cli/**"
- "conformance/**"
- "migrations/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain.toml"
- ".github/workflows/rust.yml"
pull_request:
paths:
- "crates/**"
- "services/**"
- "portals/**"
- "cli/**"
- "conformance/**"
- "migrations/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain.toml"
- ".github/workflows/rust.yml"
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain (stable + rustfmt + clippy)
run: |
rustup toolchain install stable --profile minimal --component rustfmt --component clippy
rustup default stable
- uses: Swatinem/rust-cache@v2
- name: fmt
run: cargo fmt --all --check
- name: clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: test
run: cargo test --all-features
- name: doctrine-check
run: bash scripts/rust_doctrine_check.sh