docs: rewrite agent-pdf README with usage details, privacy, and limits #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Agents | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - agents/** | |
| - .github/workflows/agents.yaml | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - agents/** | |
| - .github/workflows/agents.yaml | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: agents | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Cache cargo | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| agents/target | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('agents/Cargo.lock') }} | |
| restore-keys: ${{ runner.os }}-cargo- | |
| - name: Format | |
| run: cargo fmt --check | |
| - name: Clippy | |
| run: cargo clippy -- -D warnings | |
| - name: Build | |
| run: cargo build |