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
Benoit Daloze
ae9cb3b565
Add Ruby 1.9 on Linux and macOS
...
* On Windows there are no 64-bit builds of Ruby 1.9.
* Fix floatVersion() for head versions.
* Use floatVersion() in more cases instead of regexps.
* Rely on ~/.gemrc to not install gem docs.
2021-08-01 14:56:11 +02:00
Benoit Daloze
77d7ca9909
Document a recent Bundler is needed on Windows
2021-07-29 14:18:45 +02:00
Benoit Daloze
e08bf35edf
Ensure the typical bundle exec rake works in all cases
2021-07-29 13:24:06 +02:00
Benoit Daloze
0997e21bf3
Fix check for TruffleRuby < 21.0 and Bundler 1
2021-07-27 13:35:24 +02:00
Benoit Daloze
0c7e9c4d53
Add TruffleRuby 21.2.0
2021-07-20 21:21:01 +02:00
Benoit Daloze
ee30953387
Use an absolute path for BUNDLE_GEMFILE in tests too
2021-07-15 22:58:01 +02:00
Benoit Daloze
cae9d256bd
Add Ruby 2.6.8, 2.7.4 and 3.0.2 on Windows
2021-07-14 11:45:27 +02:00
Benoit Daloze
189661fc29
Remove workflow schedule as it causes the workflow to be disabled in forks
2021-07-07 22:35:50 +02:00
Benoit Daloze
d3625ee300
Add Ruby 2.6.8, 2.7.4 and 3.0.2
2021-07-07 22:35:35 +02:00
Benoit Daloze
a783f957cd
Remove unnecessary check
2021-06-27 13:41:20 +02:00
Benoit Daloze
fe983d22a1
Add JRuby 9.2.19.0
2021-06-18 14:31:32 +02:00
Benoit Daloze
1328335dba
Cleanup
2021-06-06 11:03:36 +02:00
Benoit Daloze
ea774f6ee1
CI: show gem env
2021-06-06 11:03:29 +02:00
Benoit Daloze
77ca66ce27
Add 2.0.0 on Windows too
2021-05-31 22:18:27 +02:00
Benoit Daloze
2eb6adbfb1
Update URLs for RubyInstaller 1 and DevKit
...
* See https://github.com/ruby/setup-ruby/issues/171
and https://github.com/oneclick/rubyinstaller/issues/400
2021-04-26 23:48:02 +02:00