pipx is a pre-installed package manager in the latest Ubuntu GHA runner images.
Since it is a recommended way of installing Poetry, because it creates a separate environment, I changed the workflows to install Poetry through pipx.
In order to leverage poetry.lock-dependent caching feature offered by actions/setup-python, I moved the Poetry setups before the setup-python step is performed.
Additionally, I bumped actions/setup-python to the latest v5 version (see release for details on what's changed).
pipx is a pre-installed package manager in the latest Ubuntu GHA runner images. Since it is a recommended way of installing Poetry, because it creates a separate environment, I changed the workflows to install Poetry through pipx. In order to leverage
poetry.lock
-dependent caching feature offered by actions/setup-python, I moved the Poetry setups before thesetup-python
step is performed. Additionally, I bumped actions/setup-python to the latest v5 version (see release for details on what's changed).