Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ruby/setup-ruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 44511735964dcb71245e7e55f72539531f7bc0eb
Choose a base ref
...
head repository: ruby/setup-ruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0481980f17b760ef6bca5e8c55809102a0af1e5a
Choose a head ref
  • 11 commits
  • 9 files changed
  • 5 contributors

Commits on Sep 16, 2025

  1. Add ruby-3.4.6

    ruby-builder-bot authored and eregon committed Sep 16, 2025
    Configuration menu
    Copy the full SHA
    c61fbf1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fee676 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2025

  1. feat: upgrade to node 24

    Signed-off-by: Rui Chen <rui@chenrui.dev>
    chenrui333 authored and eregon committed Sep 18, 2025
    Configuration menu
    Copy the full SHA
    c4cd38d View commit details
    Browse the repository at this point in the history
  2. chore: add setup-node for lint job

    Signed-off-by: Rui Chen <rui@chenrui.dev>
    chenrui333 authored and eregon committed Sep 18, 2025
    Configuration menu
    Copy the full SHA
    866b91c View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2025

  1. Revert "chore: add setup-node for lint job"

    This reverts commit 866b91c.
    eregon committed Sep 20, 2025
    Configuration menu
    Copy the full SHA
    4df093a View commit details
    Browse the repository at this point in the history
  2. Revert "feat: upgrade to node 24"

    This reverts commit c4cd38d.
    eregon committed Sep 20, 2025
    Configuration menu
    Copy the full SHA
    d3e13b3 View commit details
    Browse the repository at this point in the history
  3. Revert "Skip test failing on JRuby on Windows"

    This reverts commit f2f42b7.
    chadlwilson authored and eregon committed Sep 20, 2025
    Configuration menu
    Copy the full SHA
    b8714f7 View commit details
    Browse the repository at this point in the history
  4. Test on JRuby 9.4 as well as 10.0

    chadlwilson authored and eregon committed Sep 20, 2025
    Configuration menu
    Copy the full SHA
    1dc7956 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2025

  1. Update CRuby releases on Windows

    ruby-builder-bot authored and eregon committed Sep 21, 2025
    Configuration menu
    Copy the full SHA
    1c58d16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf7216d View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2025

  1. Print lockfile contents earlier

    Currently, the lockfile gets printed after `bundle install` finished. This could be too late when `bundle install` fails for whatever reason.
    
    I have a workflow that failed like this:
    
    <details><summary>Logs</summary>
    <p>
    
    ```
    
    55s
    Run ruby/setup-ruby@v1
    Modifying PATH
    Downloading Ruby
    Extracting  Ruby
    Print Ruby version
    Installing Bundler
    > bundle install
    /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle config --local path /home/runner/work/rubocop/rubocop/vendor/bundle
    /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle lock
    Fetching source index from https://rubygems.org/
    Network error while fetching
    https://rubygems.org/quick/Marshal.4.8/asciidoctor-0.0.1.gemspec.rz (Connection
    reset by peer - SSL_connect)
    Error: The process '/opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle' failed with exit code 17
    Run ruby/setup-ruby@v1
    Modifying PATH
    Downloading Ruby
    Extracting  Ruby
    Print Ruby version
    Installing Bundler
    > bundle install
    /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle config --local path /home/runner/work/rubocop/rubocop/vendor/bundle
    /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle lock
    Fetching source index from https://rubygems.org/
    Network error while fetching
    https://rubygems.org/quick/Marshal.4.8/asciidoctor-0.0.1.gemspec.rz (Connection
    reset by peer - SSL_connect)
    Error: The process '/opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle' failed with exit code 17
    ```
    
    </p>
    </details>
    
    It would help to print the lockfile for this I think. It fetching version 0.0.1 confused me but probably the lockfile looks ok. New output:
    
    ```
    Run ./
    Modifying PATH
    Print Ruby version
    Installing Bundler
    > bundle install
    /opt/hostedtoolcache/Ruby/3.2.9/x64/bin/bundle config --local path /home/runner/work/setup-ruby/setup-ruby/vendor/bundle
    /opt/hostedtoolcache/Ruby/3.2.9/x64/bin/bundle lock
    Fetching gem metadata from https://rubygems.org/...........
    Resolving dependencies...
    Writing lockfile to /home/runner/work/setup-ruby/setup-ruby/gemfiles/rails8.gemfile.lock
    Print lockfile
    Cache key: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.2.9-wd-/home/runner/work/setup-ruby/setup-ruby-with--without--only--/home/runner/work/setup-ruby/setup-ruby/gemfiles/rails8.gemfile.lock-cb69172094f71f01e5207070d9af8d465d9aa9c386ecbad22b1b6e8e43523fd2
    /opt/hostedtoolcache/Ruby/3.2.9/x64/bin/bundle install --jobs 4
    ...
    ```
    
    So it's relatively at the top and not hidden somewhere. Also removes the need to check for the lockfile again.
    Earlopain authored and eregon committed Sep 22, 2025
    Configuration menu
    Copy the full SHA
    0481980 View commit details
    Browse the repository at this point in the history
Loading