Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Use `setup-python` just for caching

未關閉
#1,175 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
github-actions, typescript
領域
ci-cd, devops

研究方向

先檢查 action 的快取處理和版本驗證,然後比較 issue 中描述的 setup-node 行為。當 workflow 可以在不設定 Python 版本的情況下使用 cache: pip,且有測試涵蓋此設定時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

feature request

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

主要語言
TypeScript
星號
2.2k
分支
739
平均合併
6 天 18 小時
30 天內合併 PR
1

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

actions/setup-python 的其他 Issue

查看 actions/setup-python 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。