How about changing interpretation of version string
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- ci-cd
Research direction
Start by tracing how the ruby-version input is interpreted in GitHub Actions workflow files, using the reported 3.0 environment-value example as the motivating case. Define and verify the intended meanings for 3, 3.0, and 3.x, including the compatibility impact on existing workflows.
Written by the indexing model from the issue text.
Description
Many users who wants use 3.0.x write ruby-version: 3.0 by mistake.
3.0 interpreted as 3 on GitHub Actions.
For example, following workflow step prints 3 only.
env:
env_var: 3.0
run: |
set -x
echo ${env_var}
So I propose changing the meaning of 3 (and 3.0 on workflow files) use 3.0.x, and 3.x (or something) use latest 3.x.x.
After this change, many users can write 3.0 intentionally, and some (probably less) users who want use latest 3.x.x can write 3.x or something instead.
- Dominant language
- JavaScript
- Stars
- 990
- Forks
- 369
- Avg merge
- 18m
- Merged PRs (30d)
- 3
Contributor guide
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.
More from ruby/setup-ruby
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ruby/setup-ruby#818 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ruby/setup-ruby#801 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
ruby/setup-ruby#791 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ruby/setup-ruby#752 · 12 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
ruby/setup-ruby#673 · 3 comments · 1 reaction ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1414 ·
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/inspector#2458 · 1 comment ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
carbon-design-system/ibm-products#9907 ·