-
Notifications
You must be signed in to change notification settings - Fork 117
ci: cache poetry #456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: cache poetry #456
Conversation
| - name: Install poetry | ||
| run: pipx install poetry | ||
| run: | | ||
| curl -sSL https://install.python-poetry.org/ | python - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is -sSL supposed to be camelCase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s, S, and L are all independent flags.
More details are here: https://curl.se/docs/manpage.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than one quality of life question
High Level Overview of Change
This PR caches the installation of
poetry. It shaves about 10-15 seconds off of CI. It also fixes an issue where we were unintentionally installing Python twice.Context of Change
Everybody likes speedy CI.
I implemented this in XRPLF/xbridge-cli#62 and figured I might as well do it here too.
Type of Change
Test Plan
Works in CI.