-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrade from v0.0.5 to v1.0.0 Github Actions flow broke #17
Comments
The truth is, I only half-understand how Actions works and like any CI specification, the feedback loops are too slow and the use cases are too diffuse to really get my arms around them for very long, even when I do. For your specific case, I think you should be able to just remove the ruby/setup-ruby@v1 step, since 1.0 and later of this action includes it. More generally, it would seem that an this action could define inputs as parameters users could set, and then one such input (say, |
I had the same issue, and setting the - name: Standard Ruby
uses: standardrb/standard-ruby-action@v1
with:
ruby-version: "3.2.5" |
Standard doesn't read from .ruby-version / .tool-versions / Gemfile's |
I should say, though, that I'd accept a PR to either this action or to standard that set that target ruby version to whatever the conventional dotfile stipulates only if it's older than the latest resolvable ruby |
Hello,
Upgrading the gem from 0.0.5 => 1.0.0 broke our flow.
After investigating your
action.yml
file I see that it points to "ruby" which probably uses the newest ruby version out there:https://github.com/standardrb/standard-ruby-action/blob/main/action.yml#L16
In our case, we have
.ruby-version
file, where we defined3.2.2
and also insige Gemfile. Ruby Linter flow doesn't take into consideration. Ruby version mismatch causes the failure of Github Actions.Our action.yml
Is it a bug or something has to change with our Action file?
Thank you
The text was updated successfully, but these errors were encountered: