Skip to content

Commit 2139f75

Browse files
committed
Switch CI and docs build to UV
1 parent 5776dc0 commit 2139f75

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v6
23-
- uses: actions/setup-python@v6
24-
with:
25-
python-version: "3.11"
2623
- run: sudo apt-get update && sudo apt-get install -y gettext
27-
- run: python -m pip install -e '.[docs]'
28-
- run: python -m mkdocs build --strict
24+
- uses: astral-sh/setup-uv@v7
25+
- run: uv run mkdocs build --strict
2926
SQLite:
3027
needs: [dist, docs]
3128
runs-on: ubuntu-latest

.readthedocs.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ build:
88
python: "3"
99
apt_packages:
1010
- gettext
11-
python:
12-
install:
13-
- method: pip
14-
path: .
15-
extra_requirements:
16-
- docs
11+
jobs:
12+
install:
13+
- curl -LsSf https://astral.sh/uv/install.sh | sh
14+
build:
15+
html:
16+
- uv run mkdocs build
1717
mkdocs:
1818
configuration: mkdocs.yml

0 commit comments

Comments
 (0)