Skip to content

Commit 5e4c913

Browse files
authored
chore: switch pages to use uv (#531)
* Switch pages to use uv * chore: remove extra checkout * chore: explicitly install pdoc
1 parent f827cbc commit 5e4c913

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/pages.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ jobs:
2828
fail-fast: false
2929
steps:
3030
- uses: actions/checkout@v5
31-
- uses: snok/install-poetry@v1.4.1
32-
- name: Install Dependencies
33-
run: poetry install
34-
shell: bash
35-
- run: poetry run pdoc ./roborock -o docs/pdoc
31+
- name: Set up uv
32+
uses: astral-sh/setup-uv@v7
33+
with:
34+
python-version: ${{ matrix.python-version }}
35+
activate-environment: true
36+
- run: uv pip install .
37+
- run: pdoc ./roborock -o docs/pdoc
3638
- name: Setup Pages
3739
uses: actions/configure-pages@v5
3840
- name: Upload artifact

0 commit comments

Comments
 (0)