gloves 0.5.11

seamless secret manager and handoff
Documentation
name: CI

on:
  pull_request:
    branches:
      - main
      - next
      - canary
      - release/**
  push:
    branches:
      - main
      - next
      - canary
      - release/**

permissions:
  contents: read

concurrency:
  group: ci-${{ github.event.pull_request.number || github.ref }}
  cancel-in-progress: true

jobs:
  lint-and-docs:
    name: Lint and Docs
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Set up Rust
        uses: dtolnay/rust-toolchain@stable

      - name: Set up Bun
        uses: oven-sh/setup-bun@v2
        with:
          bun-version: 1.3.8

      - name: Cache Cargo artifacts
        uses: Swatinem/rust-cache@v2

      - name: Install workspace dependencies
        run: bun install --frozen-lockfile

      - name: Format check
        run: cargo fmt --all -- --check

      - name: Clippy
        run: cargo clippy --all-targets --all-features -- -D warnings

      - name: Build Bun packages
        run: bun run build

      - name: Build docs
        run: cargo doc --no-deps