actions / actions/setup-python

Use `setup-python` just for caching

オープン
#1,175 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

feature request
主要言語
TypeScript
スター
2.2k
フォーク
739
平均マージ
6日 18時間
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、action のキャッシュ処理とバージョン検証を確認し、次に issue で説明されている setup-node の動作と比較します。cache: pip を使用する workflow で Python のバージョンを設定せずに済み、その構成を対象とするテストがある状態になれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions, typescript
領域
ci-cd, devops
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。