Skip to content

Commit 8dce466

Browse files
committed
chore: use install-poetry
1 parent 8b5f167 commit 8dce466

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

.github/workflows/build_docs.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@ jobs:
2626
uses: olegtarasov/[email protected]
2727
- name: Install pandoc
2828
run: sudo apt-get install -y pandoc
29-
- name: Install the latest version of uv
30-
uses: astral-sh/setup-uv@v5
31-
with:
32-
version: "latest"
3329
- name: Install Poetry
34-
run: |
35-
uv tool install poetry
30+
uses: snok/install-poetry@v1
31+
with:
32+
version: 'latest'
3633
- name: Install package and test dependencies
3734
run: |
3835
poetry install --with dev,nbtools

.github/workflows/format_and_lint.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,10 @@ jobs:
1717
uses: actions/setup-python@v3
1818
with:
1919
python-version: "3.9"
20-
- name: Install the latest version of uv
21-
uses: astral-sh/setup-uv@v5
22-
with:
23-
version: "latest"
2420
- name: Install Poetry
25-
run: |
26-
uv tool install poetry
21+
uses: snok/install-poetry@v1
22+
with:
23+
version: 'latest'
2724
- name: Install dependencies
2825
run: |
2926
poetry install --with dev

.github/workflows/run_tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ jobs:
3434
with:
3535
version: "latest"
3636
- name: Install Poetry
37-
run: |
38-
uv tool install poetry
37+
uses: snok/install-poetry@v1
38+
with:
39+
version: 'latest'
3940
- name: Install test dependencies
4041
run: |
4142
poetry self add poetry-plugin-export

0 commit comments

Comments
 (0)