Skip to content

Commit 96c17a8

Browse files
committed
Update CI setup
1 parent b6f7abb commit 96c17a8

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121
- name: Install dependencies
2222
run: |
23-
python -m pip install -r doc/requirements.txt
23+
python -m pip install --group doc
2424
- name: Build HTML
2525
run: |
2626
python -m sphinx -W --keep-going --color -d _build/doctrees/ doc/ _build/html/ -b html

.github/workflows/publish.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Build and publish to PyPI
22
on: [push, pull_request]
3+
env:
4+
UV_PYTHON_DOWNLOADS: never
35
jobs:
46
build:
57
name: Build distribution
@@ -8,15 +10,11 @@ jobs:
810
- uses: actions/checkout@v5
911
with:
1012
submodules: true
11-
- name: Set up Python
12-
uses: actions/setup-python@v6
13-
with:
14-
python-version: "3"
15-
- name: Install "build"
16-
run: |
17-
python -m pip install build
13+
- name: Install uv
14+
uses: astral-sh/setup-uv@v6
1815
- name: Build binary wheels and a source tarball
19-
run: ./make_dist.sh
16+
run: |
17+
./make_dist.sh
2018
- name: Store the distribution packages
2119
uses: actions/upload-artifact@v4
2220
with:

0 commit comments

Comments
 (0)