Add a way to override the default version of a tool
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, javascript
- 領域
- ci-cd
調査の方向性
まず、action のバージョン選択の動作を読み、issue で説明されている .travis.yml と ci.yml の例と比較します。consumer が指定したツールのバージョンが優先され、purescript-0.14 のようなブランチによって、バージョンを指定しない workflow で使用されるデフォルト値を定義できるようになれば、変更は完了です。
索引モデルが issue の本文から書いたものです。
説明
This idea came to me while reading through https://github.com/purescript/purescript/issues/3942, specifically the part about updating CI to use the v0.14.0-rc2 tag:
- Update .travis.yml to grab the most recent RC (see eg purescript/purescript-prelude@268870d)
Thinking about how this would map onto GitHub Actions, the obvious thing to do would be to go through all of the purescript-contrib libraries and update their ci.yml files to point to a specific tag:
steps:
- uses: actions/checkout@v2
- uses: purescript-contrib/setup-purescript@main
with:
purescript: "0.14.0-rc2"
- run: spago build
However, doing it this way seems like it would cause headaches if we get into the situation where a future release candidate is needed, as we would then have to go through all the libraries again to update the tag.
As an alternative solution, I'd like to propose creating a new branch (purescript-0.14, for example) for the PureScript v0.14.0 release. On this branch we'd reference whatever the latest v0.14.0 tag is as the default instead of latest.
We can then update all of the purescript-contrib libraries to point to our separate branch:
steps:
- uses: actions/checkout@v2
- uses: purescript-contrib/setup-purescript@purescript-0.14
- run: spago build
This way if we did end up having to go through multiple release candidates we could just bump the version of PureScript referenced on the purescript-0.14 branch and all of the projects referencing that branch would then pull the correct version.
In order to accomplish this it seems like we would need to add a way to override the default version of a tool that should be used if one is not provided by the consumer of the Action.
- 主要言語
- JavaScript
- スター
- 46
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
purescript-contrib/setup-purescript のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
purescript-contrib/setup-purescript#32 · コメント 6 件 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
purescript-contrib/setup-purescript#31 · コメント 1 件 · リアクション 1 件 ·
-
enhancement good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
purescript-contrib/setup-purescript#23 · コメント 2 件 ·
purescript-contrib/setup-purescript の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
avniproject/avni-client#2135 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bevyengine/bevy-website#2595 ·
-
ecosystem wording
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
matrix-org/matrix.org#3649 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
vadimdemedes/ink#1029 ·