Skip to content

Commit

Permalink
Fix version of Poetry in CI to 1.5.1 to support Py3.7 (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nour-Mws authored Aug 23, 2023
1 parent 31dbd02 commit 0aa6b15
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: Gr1N/setup-poetry@v8
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: "1.5.1" # support for Python 3.7 was dropped in 1.6.0
- uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: Gr1N/setup-poetry@v8
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: "1.5.1" # support for Python 3.7 was dropped in 1.6.0
- name: Configure access
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: Gr1N/setup-poetry@v8
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: "1.5.1" # support for Python 3.7 was dropped in 1.6.0
- uses: actions/cache@v2
with:
path: |
Expand Down

0 comments on commit 0aa6b15

Please sign in to comment.