Skip to content

Commit 71c904c

Browse files
committed
update poetry
1 parent f2f208e commit 71c904c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ jobs:
1313
permissions:
1414
contents: read # for actions/checkout to fetch code
1515
pull-requests: read # for SonarSource/sonarcloud-github-action to determine which PR to decorate
16+
env:
17+
POETRY_VERSION: 2.1.1
1618
strategy:
1719
# By default, GitHub will maximize the number of jobs run in parallel
1820
# depending on the available runners on GitHub-hosted virtual machines.
1921
# max-parallel: 8
2022
fail-fast: false
2123
matrix:
22-
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
23-
poetry-version: [ "1.2.2", "1.7.1" ]
24+
python-version: [ "3.10", "3.11", "3.12" ]
2425
os: [ ubuntu-22.04, macos-latest, windows-latest ]
2526
runs-on: ${{ matrix.os }}
2627
steps:
@@ -40,7 +41,7 @@ jobs:
4041
- name: Run image
4142
uses: abatilo/actions-poetry@0dd19c9498c3dc8728967849d0d2eae428a8a3d8 # v4
4243
with:
43-
poetry-version: ${{ matrix.poetry-version }}
44+
poetry-version: ${{ env.POETRY_VERSION }}
4445

4546
- name: Setup environment
4647
run: poetry install

0 commit comments

Comments
 (0)