-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pipx for installing Poetry (#51)
[pipx is a pre-installed package manager](https://github.com/actions/runner-images/blob/266f9413d39fc77ade974757b633ef98873c9c21/images/ubuntu/Ubuntu2204-Readme.md#package-management) 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](https://github.com/actions/setup-python/blob/e9d6f990972a57673cdb72ec29e19d42ba28880f/docs/advanced-usage.md#caching-packages) offered by [actions/setup-python](https://github.com/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](https://github.com/actions/setup-python/releases/tag/v5.0.0) for details on what's changed).
- Loading branch information
Showing
3 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters