img_src 0.3.2

Rust SDK for img-src image processing and delivery API
Documentation
name: CI

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

jobs:
  test:
    permissions:
      contents: read
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4

      - name: Install Rust
        uses: dtolnay/rust-toolchain@stable
        with:
          components: rustfmt, clippy

      - name: Cache cargo
        uses: Swatinem/rust-cache@v2

      - name: Check formatting
        run: cargo fmt --check
        continue-on-error: true  # Auto-generated code may have formatting differences

      - name: Clippy
        run: cargo clippy -- -W warnings  # Warnings only, not errors
        continue-on-error: true  # Auto-generated code may have clippy warnings

      - name: Build
        run: cargo build

      - name: Test
        run: cargo test