Benoit Daloze
|
a26e1fb6b3
|
Do not show a stacktrace if a process failed, only the message
* The stacktrace is confusing and rarely useful in that case.
|
2023-02-11 13:39:22 +01:00 |
|
Benoit Daloze
|
d60780f6b6
|
Simplify new-versions.rb
|
2023-01-24 19:15:59 +01:00 |
|
Benoit Daloze
|
8aa012b56d
|
Debug new-versions.rb
|
2023-01-24 19:12:32 +01:00 |
|
Benoit Daloze
|
628be4e0e4
|
Fix new-versions.rb
|
2023-01-24 19:10:46 +01:00 |
|
Benoit Daloze
|
93287a1fa8
|
Revert "Export BUNDLER_VERSION after installing Bundler"
* This reverts commit 3190662165.
* It causes other issues such as https://github.com/ruby/setup-ruby/issues/444
due to creating additional global state.
* The use-case it solves is too niche to risk such issues,
using `bundler-cache: true` avoids the problem.
* See https://github.com/ruby/setup-ruby/issues/444#issuecomment-1377723414
|
2023-01-10 20:17:22 +01:00 |
|
Benoit Daloze
|
3190662165
|
Export BUNDLER_VERSION after installing Bundler
* Fixes https://github.com/ruby/setup-ruby/issues/440
|
2023-01-06 12:50:46 +01:00 |
|
Benoit Daloze
|
eb7f94ffae
|
Consider Bundler pre and rc versions valid, just exclude .dev
* Fixes https://github.com/ruby/setup-ruby/issues/439
|
2023-01-06 12:49:10 +01:00 |
|
Benoit Daloze
|
ad718faf7a
|
Break long line in workflow
|
2022-12-30 15:59:58 +01:00 |
|
Benoit Daloze
|
09c10210cc
|
Implement targetRubyVersion for TruffleRuby
* Fixes #433
|
2022-12-30 15:55:07 +01:00 |
|
Benoit Daloze
|
349473288f
|
Update platforms docs
* No need to duplicate docs about which is *-latest here.
|
2022-12-19 12:35:28 +01:00 |
|
Benoit Daloze
|
ee2113536a
|
Test 3.2 RCs
|
2022-12-06 07:08:21 -06:00 |
|
Benoit Daloze
|
ee37499046
|
Fix README auto update for preview/RC
|
2022-12-06 07:08:21 -06:00 |
|
Benoit Daloze
|
705fe056cf
|
Improve wording
|
2022-12-06 05:33:15 -06:00 |
|
Benoit Daloze
|
7a0bff23cb
|
Disable failing test on old Ruby version
* See https://github.com/ruby/setup-ruby/issues/405
|
2022-11-25 17:20:21 +01:00 |
|
Benoit Daloze
|
384fc1b92f
|
Make new version script accept multiple versions
|
2022-11-25 16:34:19 +01:00 |
|
Benoit Daloze
|
4887fd8753
|
Ignore Bundler dev version in Gemfile.lock
* Fixes https://github.com/ruby/setup-ruby/issues/394
|
2022-11-22 16:22:30 +01:00 |
|
Benoit Daloze
|
f2c070bbf7
|
Workaround https://github.com/oracle/truffleruby/issues/2780
|
2022-11-09 16:49:24 +01:00 |
|
Benoit Daloze
|
eae47962ba
|
yarn upgrade
|
2022-10-14 13:41:58 +02:00 |
|
Benoit Daloze
|
d240f61f8b
|
Run pre-commit hook when changing yarn.lock
|
2022-10-14 13:41:53 +02:00 |
|
Benoit Daloze
|
51899ef157
|
Handle ./pre-commit being called directly and not as a git hook
|
2022-09-09 09:46:27 +02:00 |
|
Benoit Daloze
|
ce94adffd3
|
Fix
|
2022-08-27 11:30:39 +02:00 |
|
Benoit Daloze
|
42a259edb2
|
Fix
|
2022-08-27 11:29:32 +02:00 |
|
Benoit Daloze
|
f7849898b0
|
No blank issues
|
2022-08-27 11:22:59 +02:00 |
|
Benoit Daloze
|
a3894ac3b7
|
Update issue templates
|
2022-08-27 11:22:23 +02:00 |
|
Benoit Daloze
|
5022ef5ab9
|
Update bug_report.yml
|
2022-08-27 11:09:32 +02:00 |
|
Benoit Daloze
|
875ff82065
|
Update bug_report.yml
|
2022-08-27 11:09:08 +02:00 |
|
Benoit Daloze
|
6776a1b083
|
Update bug_report.yml
|
2022-08-27 11:07:36 +02:00 |
|
Benoit Daloze
|
b289c1ab17
|
Update bug_report.yml
|
2022-08-27 11:04:44 +02:00 |
|
Benoit Daloze
|
b5206a3d03
|
Update bug_report.yml
|
2022-08-27 11:03:21 +02:00 |
|
Benoit Daloze
|
925d63f634
|
Use an issue form
|
2022-08-27 10:57:16 +02:00 |
|
Benoit Daloze
|
0b2c3ee702
|
Add test for when there is no Gemfile
|
2022-08-27 10:29:11 +02:00 |
|
Benoit Daloze
|
658402fc50
|
Only recompile if a .js or .json file was changed
|
2022-08-27 10:22:45 +02:00 |
|
Benoit Daloze
|
0a29871fe2
|
which rake does not work on Windows on Ruby 2.5+
|
2022-08-23 20:43:55 +02:00 |
|
Benoit Daloze
|
3804ad4ff2
|
Run which test on all platforms in shell: bash
|
2022-08-21 12:42:53 +02:00 |
|
Benoit Daloze
|
87ccb7599f
|
Workaround the CRuby bug of bin/bundle in bash on Windows
* Fixes https://github.com/ruby/setup-ruby/issues/371
* See https://bugs.ruby-lang.org/issues/18970
|
2022-08-20 16:14:03 +02:00 |
|
Benoit Daloze
|
19b31c7064
|
Test that bundle is available in the bash shell
|
2022-08-20 16:04:04 +02:00 |
|
Benoit Daloze
|
6148f408d3
|
Test on ubuntu-22.04
|
2022-08-06 16:55:13 +02:00 |
|
Benoit Daloze
|
699560a00d
|
Support all versions on Ubuntu 22.04
|
2022-08-06 16:54:03 +02:00 |
|
Benoit Daloze
|
8b5af312bd
|
Fix permissions of release job
|
2022-07-29 18:24:39 +02:00 |
|
Benoit Daloze
|
d5ee2364f0
|
Ensure Bundler 2.2+ is used for all Rubies which support Bundler 2 (Ruby >= 2.3)
|
2022-07-29 18:16:42 +02:00 |
|
Benoit Daloze
|
8731780d5e
|
Remove extra condition
|
2022-07-29 18:16:42 +02:00 |
|
Benoit Daloze
|
3882fb634e
|
Test gem github: in a Gemfile
|
2022-07-29 18:16:42 +02:00 |
|
Benoit Daloze
|
d6ebfae201
|
Use read-only permissions for the test workflow
|
2022-07-27 19:16:35 +02:00 |
|
Benoit Daloze
|
e8f04a3cee
|
Use latest Bundler on CRuby 2.6 and 2.7 as their default Bundler is too old
|
2022-07-26 21:55:37 +02:00 |
|
Benoit Daloze
|
bb1d54ff77
|
Use a new cache version
* To make sure existing caches based on latest Bundler are not reused.
|
2022-07-26 21:17:48 +02:00 |
|
Benoit Daloze
|
4e1189c53d
|
Use the Bundler shipped with that Ruby by default
* Fixes https://github.com/ruby/setup-ruby/issues/358
|
2022-07-26 20:57:23 +02:00 |
|
Benoit Daloze
|
a54c48c94b
|
TruffleRuby 22.2 supports OpenSSL 3
|
2022-07-26 15:40:56 +02:00 |
|
Benoit Daloze
|
c4167d16b3
|
Link to JRuby on Windows issues
|
2022-06-26 14:06:55 +02:00 |
|
Benoit Daloze
|
d97cd77c44
|
Create FUNDING.yml
|
2022-06-25 12:00:01 +02:00 |
|
Benoit Daloze
|
706bae07c5
|
Tweak no version found error message
* So it ends with "Use ruby/setup-ruby@v1" which seems to be what some
people miss.
|
2022-06-21 11:03:22 +02:00 |
|
Benoit Daloze
|
2489e28c66
|
Use actions/checkout@v3 in workflows
|
2022-05-31 11:17:28 +02:00 |
|
Benoit Daloze
|
8029ebd6e5
|
Cleanup
|
2022-05-17 18:24:10 +02:00 |
|
Benoit Daloze
|
a7439cf424
|
Add support for macos-12
|
2022-05-16 12:08:36 +02:00 |
|
Benoit Daloze
|
b9675e15ad
|
Use quotes consistently for Ruby versions in docs
* To avoid issues from https://github.com/actions/runner/issues/849
|
2022-05-15 13:26:47 +02:00 |
|
Benoit Daloze
|
57a3395c80
|
Support some Rubies on ubuntu-22.04
|
2022-05-15 13:05:40 +02:00 |
|
Benoit Daloze
|
296bf7f67a
|
Use an explicit list of supported platforms for nicer error messages
|
2022-05-15 12:21:30 +02:00 |
|
Benoit Daloze
|
301d3e0984
|
Make it clear what is supported
|
2022-05-04 18:11:45 +02:00 |
|
Benoit Daloze
|
69fe46858b
|
Use implicit defaults for most inputs so the GitHub Actions UI shows only the set options
|
2022-05-02 20:39:45 +02:00 |
|
Benoit Daloze
|
dcbc29fae9
|
Shorten test descriptions
|
2022-05-02 20:31:14 +02:00 |
|
Benoit Daloze
|
3f53c4ecc2
|
Add tests
|
2022-05-02 20:23:57 +02:00 |
|
Benoit Daloze
|
9b993bc63c
|
Use the given Bundler 1.x version if supplied on old Rubies
* Fixes https://github.com/ruby/setup-ruby/issues/327
|
2022-05-02 20:15:42 +02:00 |
|
Benoit Daloze
|
d6a695ac2a
|
Do not install Bundler if RubyGems was updated
* Updating RubyGems will install Bundler as a side effect.
* Fixes https://github.com/ruby/setup-ruby/issues/326
|
2022-05-02 19:39:53 +02:00 |
|
Benoit Daloze
|
ee5764de2c
|
Give more details on why the shipped Bundler is used in some cases
|
2022-04-22 17:06:58 +02:00 |
|
Benoit Daloze
|
4d8ce7b87d
|
ruby-head now sets a proper ABI version
https://bugs.ruby-lang.org/issues/18249
|
2022-03-03 14:59:41 +01:00 |
|
Benoit Daloze
|
cd9d3de43b
|
Show stacktrace if available, in addition to error message
|
2022-02-27 17:51:33 +01:00 |
|
Benoit Daloze
|
7baabd2c5d
|
Make new-version.rb windows delegate to generate-windows-versions.rb
|
2022-02-20 12:27:42 +01:00 |
|
Benoit Daloze
|
e5517072e8
|
Add ruby-3.1.1 on Windows
|
2022-02-19 12:48:52 +01:00 |
|
Benoit Daloze
|
cca23415f7
|
Fix test, 3.1.1 has a newer RubyGems
|
2022-02-18 20:50:26 +01:00 |
|
Benoit Daloze
|
339cddd0ab
|
Update CONTRIBUTING.md about new versions
|
2022-02-18 18:09:56 +01:00 |
|
Benoit Daloze
|
0bb302e3c3
|
Update @actions/cache to latest to update node-fetch to 2.6.7
* Which fixes https://github.com/advisories/GHSA-r683-j2x4-v87g
|
2022-02-15 12:28:15 +01:00 |
|
Benoit Daloze
|
359bebbc29
|
Use the shipped Bundler on TruffleRuby 22.0
* To workaround https://github.com/oracle/truffleruby/issues/2586
|
2022-01-28 13:09:27 +01:00 |
|
Benoit Daloze
|
fabf2515e6
|
Allow bundler: none + bundle-cache: true to use the Bundler shipped with that Ruby + the cache
|
2022-01-27 20:07:26 +01:00 |
|
Benoit Daloze
|
51c0d59222
|
Simplify to 22.0.0 in README (both work)
|
2022-01-25 20:46:56 +01:00 |
|
Benoit Daloze
|
8a48a656bf
|
Update new-version script to handle truffleruby+graalvm automatically
|
2022-01-25 18:58:02 +01:00 |
|
Benoit Daloze
|
32c0569c64
|
Automatically update the latest version in the README
|
2022-01-23 17:33:38 +01:00 |
|
Benoit Daloze
|
3065f0b392
|
Add script to automatically add a version to ruby-builder-versions.json
|
2022-01-23 15:03:32 +01:00 |
|
Benoit Daloze
|
cf617ba62d
|
Show ruby --version
* This is particularly useful for head builds and is also reasonably
fast for all supported Rubies.
|
2022-01-23 12:27:11 +01:00 |
|
Benoit Daloze
|
c96a8640af
|
Make version files pure-data JSON files
|
2022-01-23 12:16:37 +01:00 |
|
Benoit Daloze
|
d359377deb
|
Fix title level in README
|
2022-01-23 11:58:25 +01:00 |
|
Benoit Daloze
|
4a1b0853ab
|
Small cleanup
|
2022-01-23 11:55:32 +01:00 |
|
Benoit Daloze
|
180e1d1f1c
|
windows-2016 is deprecated and windows-2022 is now supported
* Stop testing on windows-2016 to reduce the test matrix size to something reasonable.
|
2022-01-13 20:27:11 +01:00 |
|
Benoit Daloze
|
238b81ee64
|
Only log if changing something
|
2022-01-13 20:26:04 +01:00 |
|
Benoit Daloze
|
8f312efe12
|
Fix typo
|
2022-01-13 19:47:00 +01:00 |
|
Benoit Daloze
|
26470672e5
|
Small cleanups
|
2022-01-13 19:40:03 +01:00 |
|
Benoit Daloze
|
4726835508
|
Try 'gem install --force bundler' on 3.1 Windows
|
2022-01-10 17:52:23 +01:00 |
|
Benoit Daloze
|
168d6a54b4
|
Remove 2.5 from example as it is EOL
|
2021-12-26 19:21:10 +01:00 |
|
Benoit Daloze
|
471466b54c
|
Add JRuby 9.2.20.1 and 9.3.2.0
|
2021-12-07 11:22:34 +01:00 |
|
Benoit Daloze
|
be0cc84c1b
|
Add 2.6.9, 2.7.5 and 3.0.3 on Windows
|
2021-11-30 19:19:02 +01:00 |
|
Benoit Daloze
|
313811148f
|
Previews are not available on Windows
|
2021-11-24 19:19:52 +01:00 |
|
Benoit Daloze
|
f20f1eae72
|
Test 3.1 too
|
2021-11-11 13:19:00 +01:00 |
|
Benoit Daloze
|
a2b2637a7c
|
Add JRuby 9.2.20.0
|
2021-11-07 15:20:50 +01:00 |
|
Benoit Daloze
|
e5b2d1fb1e
|
Document how to add a new Ruby version
|
2021-11-07 15:20:29 +01:00 |
|
Benoit Daloze
|
b00551441a
|
Add TruffleRuby and TruffleRuby GraalVM
|
2021-10-19 19:07:24 +02:00 |
|
Benoit Daloze
|
a6f2286594
|
Use the proper ABI version for caching gems of truffleruby-head
* Previously the commit was used.
|
2021-10-05 16:57:38 +02:00 |
|
Benoit Daloze
|
c84889b9b9
|
TruffleRuby correctly changes the ABI version now
|
2021-10-05 16:51:03 +02:00 |
|
Benoit Daloze
|
ac03cb7d18
|
Use .test() instead of .match() where possible
|
2021-09-25 13:45:43 +02:00 |
|
Benoit Daloze
|
5e4f0a10bf
|
Add JRuby 9.3.0.0
* Fixes https://github.com/ruby/setup-ruby/issues/220
|
2021-09-25 12:42:44 +02:00 |
|
Benoit Daloze
|
57d46d78b7
|
Installing libxml2-dev libxslt-dev is only needed on TruffleRuby < 21.1
* TruffleRuby >= 21.1 installs nokogiri with the packaged libxml2/libxslt
like on CRuby by default. See https://github.com/oracle/truffleruby/issues/62
|
2021-08-07 20:08:38 +02:00 |
|
Benoit Daloze
|
7edf159e98
|
Add support for truffleruby+graalvm
* Using ruby-build to avoid duplicating too much logic.
|
2021-08-07 20:05:23 +02:00 |
|
Benoit Daloze
|
d9a8687ae9
|
Add TruffleRuby 21.2.0.1
|
2021-08-04 15:35:20 +02:00 |
|