Skip to content

Commit 70bb5e7

Browse files
committed
Update build_pages action to use uv
1 parent 253a8e1 commit 70bb5e7

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/build_pages.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@ jobs:
1414
- name: "Set up Python"
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: "3.12"
18-
cache: "pip"
17+
python-version-file: "pyproject.toml"
1918

20-
- name: "Install requirements"
21-
run: python3 -m pip install -r requirements-pages.txt
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v1
21+
with:
22+
version: "latest"
23+
24+
- name: Install dependencies
25+
run: uv sync
2226

2327
- name: "Build pages"
24-
run: sphinx-build -b html -c ./docs/source/ ./docs/source/ ./docs/latest/
28+
run: uv run sphinx-build -b html -c ./docs/source/ ./docs/source/ ./docs/latest/
2529

2630
- name: "Pull any updates"
2731
shell: bash

0 commit comments

Comments
 (0)