Skip to content

Commit be14a44

Browse files
author
Joel Collins
committed
Updated to use snok/install-poetry
1 parent fa1ff0b commit be14a44

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
with:
2020
python-version: ${{ matrix.python }}
2121

22-
- name: Install Poetry
23-
uses: dschep/install-poetry-action@v1.3
24-
25-
- name: Set Poetry config
26-
run: |
27-
poetry config virtualenvs.in-project false
28-
poetry config virtualenvs.path ~/.virtualenvs
22+
- name: Install and configure Poetry
23+
uses: snok/install-poetry@v1.1.1
24+
with:
25+
version: 1.1.4
26+
virtualenvs-create: true
27+
virtualenvs-in-project: false
28+
virtualenvs-path: ~/.virtualenvs
2929

3030
- name: Install Dependencies
3131
run: poetry install

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
with:
2222
python-version: ${{ matrix.python }}
2323

24-
- name: Install Poetry
25-
uses: dschep/install-poetry-action@v1.3
26-
27-
- name: Set Poetry config
28-
run: |
29-
poetry config virtualenvs.in-project false
30-
poetry config virtualenvs.path ~/.virtualenvs
24+
- name: Install and configure Poetry
25+
uses: snok/install-poetry@v1.1.1
26+
with:
27+
version: 1.1.4
28+
virtualenvs-create: true
29+
virtualenvs-in-project: false
30+
virtualenvs-path: ~/.virtualenvs
3131

3232
- name: Install Dependencies
3333
run: poetry install

0 commit comments

Comments
 (0)