Skip to content

feat: add agent-pdf skill and API #14

feat: add agent-pdf skill and API

feat: add agent-pdf skill and API #14

Workflow file for this run

name: Agent PDF
on:
push:
branches:
- main
paths:
- agent-pdf/**
- .github/workflows/agent-pdf.yaml
pull_request:
branches:
- main
paths:
- agent-pdf/**
- .github/workflows/agent-pdf.yaml
jobs:
check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: agent-pdf
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
agent-pdf/target
key: ${{ runner.os }}-cargo-${{ hashFiles('agent-pdf/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