Resolve CI annotation warnings#170
Merged
Merged
Conversation
- Remove unsupported ruby-version-file input from setup-ruby steps (both ruby/setup-ruby and oxidize-rb/setup-ruby-and-rust auto-read .ruby-version when ruby-version is unset) - Bump actions/checkout v4 -> v5 to run on Node.js 24
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.
Resolves the annotation warnings surfaced in CI (run 27302012478).
Warnings addressed
1.
Unexpected input(s) 'ruby-version-file'Neither
ruby/setup-ruby@v1noroxidize-rb/actions/setup-ruby-and-rust@v1accepts aruby-version-fileinput (verified against each action'saction.yml; the warning's valid-input list matchesruby/setup-rubyexactly). Both actions automatically read.ruby-versionwhenruby-versionis unset, so the input was a no-op that only produced a warning.Removed the three usages:
ci.yml—rspec_ruby_version_filejob (setup-ruby-and-rust)ci.yml—static_type_checkjob (ruby/setup-ruby)cd.yml—releasejob (setup-ruby-and-rust)Behavior is unchanged: each step still resolves Ruby from
.ruby-versionvia auto-detection.2.
Node.js 20 actions are deprecated … actions/checkout@v4Bumped all 5 occurrences of
actions/checkoutto@v6, which runs on Node.js 24. The other actions in these workflows already run on Node.js 24.Testing
Both workflow files validated as parseable YAML.