codexctl 0.10.0

Codex Controller - Full control plane for Codex CLI
name: CI

on:
  push:
    branches: [main]
  pull_request:
    branches: [main]

# Least-privilege default token scope for all jobs in this workflow.
permissions:
  contents: read

env:
  CARGO_TERM_COLOR: always

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: dtolnay/rust-toolchain@stable
      - uses: Swatinem/rust-cache@v2
      - name: Run tests
        run: cargo test --all-features --all-targets
      - name: Run clippy
        run: cargo clippy --all-targets --all-features -- -D warnings
      - name: Check formatting
        run: cargo fmt --all -- --check

      - name: Build smoke check
        run: cargo build --release --locked