Skip to content

Commit 32d97a4

Browse files
committed
Use uv for project management
Signed-off-by: Matthew J. Milner <[email protected]>
1 parent daa45dd commit 32d97a4

File tree

2 files changed

+560
-3
lines changed

2 files changed

+560
-3
lines changed

.github/workflows/build.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,17 @@ jobs:
4040
4141
- name: Install uv
4242
uses: astral-sh/setup-uv@v2
43-
43+
with:
44+
enable-cache: true
45+
cache-dependency-glob: "uv.lock"
46+
4447
- name: "Set up Python"
4548
uses: actions/setup-python@v5
4649
with:
4750
python-version-file: ".python-version"
4851

4952
- name: Install Sphinx and requirements
50-
run: uv pip install --system --break-system-packages -r pyproject.toml
53+
run: uv sync
5154

5255
- name: Configure
5356
run: |
@@ -68,7 +71,7 @@ jobs:
6871
- name: Build Sphinx
6972
run: |
7073
cd source
71-
sphinx-build -j auto -E . ../public
74+
uv run sphinx-build -j auto -E . ../public
7275
cd ..
7376
git status
7477
shell: bash

0 commit comments

Comments
 (0)