From 514cce80d7c0cb31b553921024855ac35b90d8a9 Mon Sep 17 00:00:00 2001 From: Daniele Esposti Date: Thu, 24 Oct 2024 23:52:05 +0100 Subject: [PATCH] Use always latest version of Poetry --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 01c37a3..e9b765e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,7 +41,7 @@ jobs: ~/.cache/pip .venv key: ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }} - - run: pip install poetry~=1.3 + - run: pip install -U poetry - run: poetry config virtualenvs.in-project true - run: poetry install --sync - run: make test @@ -65,7 +65,7 @@ jobs: ~/.cache/pip .venv key: ${{ runner.os }}-3.10-${{ hashFiles('**/poetry.lock') }} - - run: pip install poetry~=1.2 + - run: pip install -U poetry - run: poetry build # From https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#publishing-the-distribution-to-pypi-and-testpypi - name: Publish distribution 📦 to PyPI