fm-bindings 0.1.5

Rust bindings for Apple's Foundation Models framework
Documentation
name: Code Quality
on:
  push:
    branches: [main]
  pull_request:
    branches: [main]
  workflow_dispatch:

env:
  CARGO_TERM_COLOR: always

jobs:
  code_quality:
    name: Check formatting and Lints
    runs-on: macos-26
    timeout-minutes: 10
    steps:
      - uses: actions/checkout@v5
      - name: Rust Cache (Optimized)
        uses: Swatinem/rust-cache@v2
        with:
          cache-targets: true
          cache-all-crates: true
      - name: Check formatting
        run: cargo fmt --all -- --check
      - name: Run clippy
        run: cargo clippy --all-targets --all-features -- -D warnings
        # Tests skipped: requires Apple Intelligence (not available on CI runners)
      - name: Build
        run: cargo build --profile ci