You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow specifying pip cache dependencies inline in the yaml #351
Description:
The new functionality to take care of caching dependencies is great. However I'd love to be able to specify the versions of Python third parties in-line in my yaml rather than in a separate requirements.txt file.
Justification:
For non-Python repos that just happen to use Python, having a requirements.txt wouldn't be normal. More importantly, it increases clarity to see all the third party versions in one place - makes it easy to check and update your GH actions versions at the same time as the Python dependencies.
Implementation should be very easy - just write out the "cache-dependencies" string to a file and pass it to "cache-dependency-path".
Are you willing to submit a PR?
Not able to right now
Hello @ben-spiller
Thank you for your feature request.
We will inspect this potential feature and the benefits it could provide and will come back to you with our decision.
Hello @ben-spiller
According to our ADR we will not pursue creating custom solutions of this type.
If you wish to add some customization to the existing functionalities, please use the action called actions/cache.
Thank you for your report once again!
Activity
[-]Allow specifying pip cache inline in the yaml[/-][+]Allow specifying pip cache dependencies inline in the yaml[/+]marko-zivic-93 commentedon Mar 25, 2022
Hello @ben-spiller
Thank you for your feature request.
We will inspect this potential feature and the benefits it could provide and will come back to you with our decision.
marko-zivic-93 commentedon Mar 29, 2022
Hello @ben-spiller
According to our ADR we will not pursue creating custom solutions of this type.
If you wish to add some customization to the existing functionalities, please use the action called
actions/cache.Thank you for your report once again!
solodon4 commentedon Jun 21, 2022
I need this feature too. How many votes do you need before you realize you need to adjust your ADR (whatever that means)?