Skip to content

Commit 9e46da2

Browse files
committed
Rework docs workflow
1 parent b533395 commit 9e46da2

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/docs.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This workflow builds the Sphinx documentation, and in doing so - checks for errors in the documentation.
2-
name: Docs
2+
name: docs
33

44
on:
55
push:
@@ -12,25 +12,20 @@ permissions:
1212

1313
jobs:
1414
docs:
15-
name: Test Docs
15+
name: test docs
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v5
21-
19+
- uses: actions/checkout@v5
2220
- name: Setup Python 3.10
2321
uses: actions/setup-python@v6
2422
with:
2523
python-version: "3.10"
2624
cache: "pip" # Cache the pip packages to speed up the workflow
27-
25+
- name: Set up UV
26+
uses: astral-sh/setup-uv@v6
2827
- name: Install Dependencies and Package
29-
run: |
30-
python -m pip install -U pip setuptools
31-
pip install -U -r requirements.txt
32-
pip install -e .[docs]
33-
28+
run: uv sync --extra docs
3429
- name: Build Documentation
3530
run: |
3631
cd docs

0 commit comments

Comments
 (0)