Skip to content

Commit 392e447

Browse files
committed
V4.0.1
1 parent 4ef3c63 commit 392e447

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/workflow.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ jobs:
2525
python-version: ${{ matrix.python-version }}
2626

2727
- name: Install Poetry
28-
run: |
29-
python -m pip install --upgrade pip setuptools wheel
30-
python -m pip install poetry
28+
uses: snok/install-poetry@v1
29+
with:
30+
virtualenvs-create: true
31+
virtualenvs-in-project: true
3132

3233
- name: Install dependencies
3334
run: poetry install --with test --no-interaction --no-ansi
@@ -57,12 +58,12 @@ jobs:
5758
uses: actions/setup-python@v5
5859
with:
5960
python-version: ${{ matrix.python-version }}
60-
cache: 'poetry'
6161

6262
- name: Install Poetry
63-
run: |
64-
curl -sSL https://install.python-poetry.org | python3 -
65-
echo "$HOME/.local/bin" >> $GITHUB_PATH
63+
uses: snok/install-poetry@v1
64+
with:
65+
virtualenvs-create: true
66+
virtualenvs-in-project: true
6667

6768
- name: Install build dependencies only
6869
run: poetry install --only main --no-interaction --no-ansi

0 commit comments

Comments
 (0)