clawgallery 0.2.3

Agent-native screenshot gallery CLI with JSONL metadata, visual captions, and safe rename workflows.
name: CI

on:
  push:
  pull_request:

jobs:
  rust:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@stable
        with:
          components: rustfmt, clippy
      - name: Cache cargo
        uses: Swatinem/rust-cache@v2
        with:
          # cargo package removes verified target/package directories before
          # rust-cache post-cleanup, so caching target creates stale paths.
          cache-targets: false
      - name: Format
        run: cargo fmt --all -- --check
      - name: Clippy
        run: cargo clippy --all-targets --all-features -- -D warnings
      - name: Test
        run: cargo test --all-features
      - name: Build
        run: cargo build --all-features
      - name: Package library crate
        run: cargo package -p clawgallery-vdr
  windows:
    runs-on: windows-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/rust-toolchain@stable
        with:
          components: rustfmt, clippy
      - name: Verify Windows build and tests
        shell: bash
        run: |
          cargo fmt --all -- --check
          cargo test --workspace --all-features
          cargo build --workspace --all-features
          python -m py_compile scripts/vsplade_torch_server.py scripts/vsplade_server.py
          python tests/vsplade_torch_resolve.py