Benoit Daloze
9eb537ca03
Add support for ubuntu-26.04 and ubuntu-26.04-arm
2026-06-20 15:21:29 +02:00
Benoit Daloze
e1a3b100ca
Improve versions-strings-for-builder.rb
2026-06-20 15:21:29 +02:00
Benoit Daloze
0df5288f06
Remove gem install sassc on Windows JRuby
...
* It's quite slow and sassc is EOL.
2026-06-20 13:14:10 +02:00
Benoit Daloze
7372622e62
Give a better error for TruffleRuby 34+ on macOS Intel
2026-04-16 00:15:48 +02:00
Benoit Daloze
4c56a21280
Darwin-x86_64 is no longer supported on TruffleRuby 34+
...
* See https://github.com/truffleruby/truffleruby/issues/4011
2026-04-12 14:35:39 +02:00
Benoit Daloze
2327de0bdc
TruffleRuby 34+ does not support macOS Intel
2026-03-27 23:36:29 +01:00
Benoit Daloze
97b3338466
Mention all maintainers in check-new-windows-versions for consistency
2026-03-17 20:33:23 +01:00
Benoit Daloze
4eb9f110ba
Update Node to 24
...
* There are warnings for Node 20 now, see
https://github.com/ruby/setup-ruby/issues/806#issuecomment-4038240742
* Node 20 is deprecated now and EOL in April 2026.
Node 24 has been available for a long time, so no runners should lack node24.
See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
* For very old runners without node24 it's still possible to
force using node20 with `ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION=20`.
See also the blog post above.
2026-03-11 13:31:38 +01:00
Benoit Daloze
7f562e2882
Update Credits in README
2026-02-03 20:10:05 +01:00
Benoit Daloze
0fc657d48d
Document the role of the setup-ruby release team and maintainers
2026-02-03 20:10:05 +01:00
Benoit Daloze
0f5cc21a92
Use actions/checkout@v6 in README too
2026-02-03 10:58:48 +01:00
Benoit Daloze
14a4f5d1cc
looks -> is
2026-02-03 10:47:16 +01:00
Benoit Daloze
67178a2693
Improve the automated PR description
2026-02-02 19:36:35 +01:00
Benoit Daloze
ede5b7227f
Shorten workflow name
2026-02-02 17:00:21 +01:00
Benoit Daloze
aaddd6855e
new-versions.rb is no longer used for RubyInstaller releases
2026-02-02 16:57:51 +01:00
Benoit Daloze
c7aa9f4008
Move check-new-windows-versions.yml workflow from ruby/ruby-builder to ruby/setup-ruby
2026-02-02 16:57:38 +01:00
Benoit Daloze
e69dcf3ded
Update all dependencies to latest
2026-01-20 14:29:32 +01:00
Benoit Daloze
9f5530874d
Convert to String earlier in generate-windows-versions.rb
2026-01-18 23:11:22 +01:00
Benoit Daloze
757ecf59ea
Give a proper name to CI jobs checking generated files
2026-01-13 11:06:41 +01:00
Benoit Daloze
6963d48fc7
Use Regexp.escape to not need to manually escape (error-prone)
2026-01-13 11:06:41 +01:00
Benoit Daloze
3fc6249beb
Match more strictly with \A and \z
2026-01-13 11:06:41 +01:00
Benoit Daloze
5dd816ae01
Tweaks for the generated CI matrix
2026-01-07 22:30:14 +01:00
Benoit Daloze
d5f787ce33
Define a helper to download to avoid duplication
2026-01-07 22:23:14 +01:00
Benoit Daloze
1010da45f3
Tweaks
2026-01-07 22:23:14 +01:00
Benoit Daloze
b90be12699
Rename 3.4-asan to asan-release
...
* And it is currently based on the latest release, that is 4.0.0.
2026-01-05 18:59:19 +01:00
Benoit Daloze
4c24fa5ec0
Set BUNDLER_VERSION whenever we know which version to use
...
* Fixes https://github.com/ruby/setup-ruby/issues/845
2025-12-31 23:13:45 +01:00
Benoit Daloze
ac793fdd38
When setting $JAVA_HOME also add $JAVA_HOME/bin to PATH
...
* See discussion in https://github.com/rake-compiler/rake-compiler/pull/247
it is messy if that's not the case and also creates inconsistencies
based on which Java tool/executable is used.
2025-12-13 21:06:12 +01:00
Benoit Daloze
5f8a775744
macos-13 is gone
2025-12-11 22:51:44 +01:00
Benoit Daloze
d697be2f83
Account for Bundler 4
...
* Fixes https://github.com/ruby/setup-ruby/issues/827
2025-12-05 20:42:13 +01:00
Benoit Daloze
8aeb6ff803
Test Ruby 4.0 previews
2025-11-17 15:27:57 +01:00
Benoit Daloze
d5126b9b35
exec.exec() only accepts strings
2025-10-27 12:32:05 +01:00
Benoit Daloze
274049f8cf
Use os.availableParallelism() instead of os.cpus().length
...
* As https://nodejs.org/api/os.html#oscpus says:
os.cpus().length should not be used to calculate the amount of parallelism available to an application. Use os.availableParallelism() for this purpose.
2025-10-27 12:32:05 +01:00
Benoit Daloze
a16e0e6641
Test on macos-15-intel too
...
* Fixes https://github.com/ruby/setup-ruby/issues/814
2025-10-03 15:02:50 +02:00
Benoit Daloze
cf7216d52f
Use new releases of ruby-builder per engine-version
...
* See https://github.com/ruby/setup-ruby/issues/810
2025-09-21 19:19:44 +02:00
Benoit Daloze
d3e13b3e37
Revert "feat: upgrade to node 24"
...
This reverts commit c4cd38db20 .
2025-09-20 21:54:20 +02:00
Benoit Daloze
4df093a946
Revert "chore: add setup-node for lint job"
...
This reverts commit 866b91cc02 .
2025-09-20 21:54:20 +02:00
Benoit Daloze
4451173596
Remove workaround for old truffleruby version from 2021
2025-08-30 13:55:15 +02:00
Benoit Daloze
805f878062
Remove failing test
2025-08-30 13:54:52 +02:00
Benoit Daloze
76da337679
Update GitHub-hosted runners link
2025-08-06 13:10:04 +02:00
Benoit Daloze
bb6434c747
Add non-null check
2025-07-26 10:58:48 +02:00
Benoit Daloze
0ecad18fe5
Revert "Add printing of the lockfile after installation"
...
This reverts commit e8621f0b86 .
2025-07-25 22:09:19 +02:00
Benoit Daloze
bd6859cc58
Use core.group() instead of startGroup/endGroup
2025-07-25 20:25:02 +02:00
Benoit Daloze
a4f8389190
Remove windows-2019 support
...
* See https://github.com/actions/runner-images/issues/12045
2025-07-15 22:28:17 +02:00
Benoit Daloze
afda160499
Improve exclude reasons
2025-04-26 12:52:51 +02:00
Benoit Daloze
e69d1ea5ec
Update README example
2025-04-26 12:52:44 +02:00
Benoit Daloze
2e007403fc
Remove support for ubuntu-20.04
...
* It's gone: https://github.com/actions/runner-images/issues/11101
2025-04-24 20:45:25 +02:00
Benoit Daloze
72002957a7
Update to Rails 7.2 and 8 in tests
...
* Rails <= 6 has a known issue with logger and the workaround causes CI failures:
https://github.com/ruby/setup-ruby/actions/runs/14641011806/job/41083255632
2025-04-24 16:28:30 +02:00
Benoit Daloze
bc1d550354
Update testFixedBundlerVersionForOldRuby to 2.3 since 2.2 is known to be broken with recent C compilers
...
* See https://github.com/ruby/setup-ruby/issues/496
2025-04-24 13:55:27 +02:00
Benoit Daloze
bcde69c47c
Update README.md
2025-04-18 18:54:39 +08:00
Benoit Daloze
eedae55b0a
Make it clear not all combinations are supported
2025-04-18 18:51:02 +08:00
Benoit Daloze
fc67f6de0a
Update remaining 20.04 tests to 22.04
2025-04-18 16:35:22 +08:00
Benoit Daloze
5ea2b47b47
Stop testing on ubuntu-20.04 since it's gone
2025-04-18 15:49:38 +08:00
Benoit Daloze
922ebc4c52
Use $JAVA_HOME/bin/java for the check
2025-03-15 12:36:12 +01:00
Benoit Daloze
bbda85882f
Fix .tool-versions and mise.toml tests
2025-03-11 12:24:54 +01:00
Benoit Daloze
30755d8bf4
Cleanup matching for .tool-versions and mise and add tests for .ruby-version and .tool-versions
2025-03-11 12:16:17 +01:00
Benoit Daloze
88a8155095
Make targetRubyVersion() more complete
2025-02-22 17:21:43 +01:00
Benoit Daloze
3ad45c51bf
Improve script for listing versions
2025-02-22 17:11:22 +01:00
Benoit Daloze
f2f42b7848
Skip test failing on JRuby on Windows
...
* See https://github.com/jruby/jruby/issues/8623
2025-02-12 12:08:15 +01:00
Benoit Daloze
8711a86ab6
Shorten to avoid horizontal scrolling
2025-02-05 11:11:17 +01:00
Benoit Daloze
28c4deda89
ubuntu-22.04-arm64 and ubuntu-24.04-arm64 support is complete
...
* *-head builds just need to complete.
2025-01-18 23:43:10 +01:00
Benoit Daloze
fbaef13682
Add support for ubuntu-22.04-arm64 and ubuntu-24.04-arm64
2025-01-18 23:33:18 +01:00
Benoit Daloze
7a6302104f
Workaround missing require 'logger' in Rails
2025-01-17 10:00:35 +01:00
Benoit Daloze
2a18b06812
Require macos-13+ for macos-amd64 as builds from now on will be on 13 and 12 can no longer be tested
2024-12-06 22:33:53 +01:00
Benoit Daloze
2e3487c00e
No more macos-12 runners, minimum for macos-amd64 is now macos-13
2024-12-06 22:29:00 +01:00
Benoit Daloze
6825c765eb
Clarify
2024-11-21 14:11:38 +01:00
Benoit Daloze
9a9fe58c47
Clarify all macOS versions from 12 are supported
2024-11-20 20:58:51 +01:00
Benoit Daloze
217c988b8c
Skip which bundle test on mingw, mswin and ucrt
...
* See https://github.com/ruby/setup-ruby/issues/658
2024-11-05 12:06:00 +01:00
Benoit Daloze
4d521eadc8
Fix exclusion
2024-10-11 11:59:43 +02:00
Benoit Daloze
1d9686e3ef
Mention the new ruby-asan under Supported Versions
...
* Remove the ASan Debugging section for now as it seems mostly redundant.
Native extensions are automatically compiled with ASan, so there is nothing special to do to use it.
2024-10-11 11:58:05 +02:00
Benoit Daloze
f269373437
Test the last 3.4 preview in CI
2024-10-07 20:33:19 +02:00
Benoit Daloze
f6e05710ec
Update README.md
2024-10-05 20:53:31 +02:00
Benoit Daloze
207a39969b
Move the link to the list together with other text about builds
2024-10-05 20:51:36 +02:00
Benoit Daloze
c04af2bb72
Replace macos-release by (parseInt(os.version()) - 9)
...
* That way we don't need to update that dependency to work with newer macOS releases.
2024-09-25 22:01:07 +02:00
Benoit Daloze
17f5c914a0
Add support for macos-15 and all future macos runners
...
* Fixes https://github.com/ruby/setup-ruby/issues/647
2024-09-25 22:00:58 +02:00
Benoit Daloze
5496baa6db
Update macos-release to 3.3.0 so it recognizes macos-15
2024-09-25 21:40:23 +02:00
Benoit Daloze
0ec4904dc7
Better error for TruffleRuby on Windows
...
* Fixes https://github.com/ruby/setup-ruby/issues/619
2024-09-25 21:02:29 +02:00
Benoit Daloze
3a77c29278
Fix updating the v1 branch on automated releases
...
* Fixes https://github.com/ruby/setup-ruby/issues/618
2024-07-06 11:54:45 +02:00
Benoit Daloze
1d0e911f61
Fully remove macos-11 since new builds will be on macos-12
2024-06-30 12:49:37 +02:00
Benoit Daloze
c48bc1e88d
macos-11 is no longer available
2024-06-30 12:41:55 +02:00
Benoit Daloze
713e0f1ab5
Update CONTRIBUTING.md
2024-06-27 15:46:14 +02:00
Benoit Daloze
af43264f2b
GH_REPO and GH_TOKEN must be set
2024-06-27 15:41:42 +02:00
Benoit Daloze
3251c5c21b
Add workflow to automatically create a release
2024-06-27 15:23:12 +02:00
Benoit Daloze
78c01b705f
Improve error message for CRuby < 2.6 on macos-arm64
...
* Is this the best error message ever?
2024-06-08 13:39:56 +02:00
Benoit Daloze
0cde4689ba
Clearer
2024-05-30 15:10:04 +02:00
Benoit Daloze
a56d16ef33
Refine errors text
2024-05-30 15:06:36 +02:00
Benoit Daloze
12dfa2bb47
Better error for 404
2024-05-30 15:01:16 +02:00
Benoit Daloze
68b705993a
Fix condition
2024-05-30 14:47:21 +02:00
Benoit Daloze
d046db60e3
Fail clearly for CRuby < 2.6 on macos-arm64
2024-05-30 14:41:43 +02:00
Benoit Daloze
d4138ebc47
Do not validate the version for self-hosted
2024-05-30 14:41:31 +02:00
Benoit Daloze
049eae0450
Remove trailing space
2024-05-30 12:56:58 +02:00
Benoit Daloze
943103cae7
Use downloadAndExtract() for truffleruby+graalvm too
...
* Simpler and more consistent that way.
* Avoids rerunning the post-install hook every time.
2024-05-22 00:08:22 +09:00
Benoit Daloze
82dd21cb95
Remove leftover test files
...
* The corresponding tests were removed in e16528e678 .
They could be re-added but should generate these files dynamically to avoid confusion.
2024-05-06 19:16:43 +02:00
Benoit Daloze
e9d41d6cc1
Added dependabot for GitHub Actions
2024-02-17 12:27:49 +01:00
Benoit Daloze
22fdc77bf4
Clarify comment in test.yml
2024-01-31 16:00:45 +01:00
Benoit Daloze
bd03e04863
Test 3.3 on Windows
2024-01-25 17:18:05 +01:00
Benoit Daloze
5daca16544
Remove default in action.yml for windows-toolchain
...
* Otherwise it shows up in every usage of the action even if not set.
* Consistent with other non-required inputs.
2024-01-22 11:08:37 +01:00
Benoit Daloze
b203567269
Workaround bug in XCode 14.2 linker not respecting RTLD_LAZY
...
* See https://github.com/oracle/truffleruby/issues/3390
2024-01-16 16:42:00 +01:00
Benoit Daloze
360dc864d5
Shorten job title to fit in GH UI
2023-12-28 12:21:45 +01:00
Benoit Daloze
961f85197f
Rename workflow and variable for clarity
2023-12-27 20:27:45 +01:00
Benoit Daloze
036ef458dd
Explicitly exit after this action runs to not wait for hanging promises
...
* See https://github.com/ruby/setup-ruby/issues/543
2023-11-07 19:05:04 +01:00