Skip to content

Commit a6ac8f5

Browse files
Merge pull request #49 from qec-codes/sphinx-documentation
ci: update GitHub Actions workflow to use uv for dependency installation
2 parents a7cd577 + 161e14f commit a6ac8f5

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up Python
14-
uses: actions/setup-python@v4
15-
with:
16-
python-version: '3.x'
17-
- name: Install dependencies
18-
run: |
19-
python -m pip install --upgrade pip
20-
pip install sphinx myst-parser sphinx-rtd-theme
13+
- name: Set up uv
14+
uses: astral-sh/setup-uv@v5
15+
- name: Install the project
16+
run: uv sync
2117
- name: Build HTML
2218
run: sphinx-build -b html docs/source docs/_build/html
2319
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)