actions / actions/setup-python
Use `setup-python` just for caching
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 739
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 1
Description
Description:
It would be good to be able to use this action just to cache dependencies, without also downloading Python. For example:
- uses: actions/setup-python@v5
with:
cache: pip
This currently doesn't work, because the version is not set.
You can do something similar with setup-node, for example:
- uses: actions/setup-node@v4
with:
cache: npm
Justification:
It would be able to use the existing logic in this action to cache dependencies, instead of having to use the cache action manually.
Are you willing to submit a PR?
Yes
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the action's cache handling and version validation, then compare the setup-node behavior described in the issue. Done means a workflow can use cache: pip without setting a Python version, with tests covering that configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100