Skip to content

Commit 88962c2

Browse files
committed
Pin Poetry in Release and Linter pipelines
1 parent f5b11d2 commit 88962c2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/lint-docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
uses: actions/setup-python@v4
1717
with:
1818
python-version: "3.10"
19-
- name: Install Poetry
20-
run: curl -sSL https://install.python-poetry.org | python
19+
- name: Install and configure Poetry
20+
uses: snok/install-poetry@v1
21+
with:
22+
version: 1.5.1
2123
- name: Install dependencies
2224
run: |
2325
poetry env use '3.10'

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ jobs:
1818
uses: actions/setup-python@v4
1919
with:
2020
python-version: "3.10"
21-
- name: Install Poetry
22-
run: curl -sSL https://install.python-poetry.org | python
21+
- name: Install and configure Poetry
22+
uses: snok/install-poetry@v1
23+
with:
24+
version: 1.5.1
2325
- name: Install dependencies
2426
run: poetry install
2527
- name: Build distributions

0 commit comments

Comments
 (0)