-
Notifications
You must be signed in to change notification settings - Fork 1.3k
37 lines (29 loc) · 802 Bytes
/
Copy pathdocs.yml
File metadata and controls
37 lines (29 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Docs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.6.10"
cache: true
- name: Install dependencies
run: uv sync --frozen --all-extras --dev
- name: Check generated tool documentation
run: uv run python scripts/generate_tool_docs.py --check
- name: Verify tool documentation diff
run: |
uv run python scripts/generate_tool_docs.py
git diff --exit-code -- docs/tools/ docs/tools-reference.mdx