Skip to content

Commit 1701968

Browse files
authored
chore: update Python version to 3.12 and improve documentation workflow (#227)
1 parent e436d92 commit 1701968

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- uses: actions/setup-python@v4
2525
with:
26-
python-version: 3.11
26+
python-version: 3.12
27+
- name: Install pipx
28+
run: python -m pip install pipx && python -m pipx ensurepath
2729
- name: Install poetry
28-
run: curl -sSL https://install.python-poetry.org | python -
30+
run: pipx install poetry && poetry --version
2931
- name: Install dependencies
30-
run: ~/.local/bin/poetry install
32+
run: poetry install
3133
- name: Build docs
32-
run: ~/.local/bin/poetry run poe docs
34+
run: poetry run poe docs
3335
- name: Setup Pages
3436
id: pages
3537
uses: actions/configure-pages@v3

0 commit comments

Comments
 (0)