[OMBU-821] Name .tool-versions through setup-ruby's real input - #23
Merged
Conversation
ruby/setup-ruby@v1 has no ruby-version-file input, so it warned on every run: "Unexpected input(s) 'ruby-version-file'". That name comes from actions/setup-python and setup-node, not from this action. It is absent from v1, from the latest release v1.321.0, and from master, so no version bump fixes it. The input was ignored and the version still resolved, because when ruby-version is unset the action tries .ruby-version, then .tool-versions, then mise.toml. Rather than lean on that implicit order, name the file through ruby-version, which accepts '.ruby-version', '.tool-versions' or 'mise.toml' as literal values. skunk.fyi's workflow carries the same invalid input and needs the same fix.
JuanVqz
force-pushed
the
feature/OMBU-821-setup-ruby-input
branch
from
August 20, 2026 22:13
0c579bd to
a86fce1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #21, which merged before this fix was pushed.
Why
ruby/setup-ruby@v1has noruby-version-fileinput, so it warned on every run:That name comes from
actions/setup-pythonandsetup-node, not from thisaction. It is absent from
v1, from the latest releasev1.321.0, and frommaster, so no version bump or pin fixes it.The input was ignored, and the Ruby version still resolved, because with
ruby-versionunset the action tries.ruby-version, then.tool-versions,then
mise.toml:What changed
Rather than lean on that implicit lookup order, name the file through the input
that does exist.
ruby-versionaccepts.ruby-version,.tool-versionsandmise.tomlas literal values, per the action's README.Note for skunk.fyi
skunk.fyi's workflow uses the same invalid
ruby-version-fileinput and carriesthe same warning. Worth the same fix there.