Benoit Daloze
|
c101335f33
|
Add test checking using an exact Bundler version works
v1.59.0
|
2020-12-11 14:46:33 +01:00 |
|
Benoit Daloze
|
1482e9180a
|
Install the exact same Bundler version as in the lockfile if there is a lockfile
|
2020-12-11 14:46:33 +01:00 |
|
Jonathan del Strother
|
3e7640a17e
|
Document the bundler: "x.y.z" feature
|
2020-12-11 14:46:33 +01:00 |
|
Benoit Daloze
|
f6f61ea575
|
Fix checks for Bundler version to consider an exact version like 2.1.4
|
2020-12-11 14:46:33 +01:00 |
|
Benoit Daloze
|
084885eaca
|
Only set $BUNDLER_VERSION when needed (Bundler 1, Ruby >= 2.7)
v1.58.1
|
2020-12-09 16:51:47 +01:00 |
|
Benoit Daloze
|
efd6675fc9
|
Add 3.0.0-preview2
v1.58.0
|
2020-12-08 18:42:10 +01:00 |
|
Benoit Daloze
|
e5a267414f
|
Fix value for options
v1.57.1
|
2020-12-07 21:12:36 +01:00 |
|
ojab
|
cadade3366
|
Pass selected Bundler version to bundle config & bundle lock
|
2020-12-07 21:06:26 +01:00 |
|
Benoit Daloze
|
d3562e70d9
|
Use lowercase names for interpreters
* So the mapping to `engine-version` versions is clearer.
|
2020-12-05 17:23:19 +01:00 |
|
Benoit Daloze
|
23b2b5e5f1
|
Create the .complete file so tc.find() can find it for future runs for self-hosted runners
v1.57.0
|
2020-12-05 16:36:46 +01:00 |
|
Benoit Daloze
|
42fc2d3bce
|
Reuse builds in the toolcache when they exist
|
2020-12-05 16:18:50 +01:00 |
|
ojab
|
30f5e2d4cd
|
Fixup bundler version for rubies with bundler as a default gem
Fixes #117
v1.56.0
v1.55.0
|
2020-12-05 15:40:47 +01:00 |
|
Benoit Daloze
|
fd1d77b75c
|
GitHub Actions parses 3.0 as '3', so use quotes
* And adapt excludes.
v1.54.0
|
2020-12-05 13:14:51 +01:00 |
|
Benoit Daloze
|
2a0be7a409
|
Try stable versions first, and then try non-head versions
* Fixes https://github.com/ruby/setup-ruby/issues/115
|
2020-12-05 12:52:21 +01:00 |
|
Benoit Daloze
|
bacba738b2
|
Run bundle clean when reusing a cache and the lockfile changed
* Fixes https://github.com/ruby/setup-ruby/issues/113
v1.53.0
|
2020-12-02 17:36:27 +01:00 |
|
Benoit Daloze
|
21351ecc0a
|
More details about BUNDLE_GEMFILE
|
2020-11-27 11:16:50 +01:00 |
|
Benoit Daloze
|
4d7e038419
|
Show how to set BUNDLE_GEMFILE in the README
|
2020-11-27 11:03:17 +01:00 |
|
Benoit Daloze
|
e27aee156d
|
Add TruffleRuby 20.3.0
v1.52.0
|
2020-11-20 13:00:18 +01:00 |
|
Benoit Daloze
|
43bb24d212
|
Run lint explicitly on Ubuntu 20.04 to avoid warning
|
2020-11-20 13:00:18 +01:00 |
|
Benoit Daloze
|
0c4183e8b8
|
truffleruby-head works fine on macOS Big Sur now
|
2020-11-20 12:39:46 +01:00 |
|
Benoit Daloze
|
50ae8432ea
|
Remove part about continue-on-error in example
* It does not seem to work well.
* See https://github.com/actions/toolkit/issues/399
|
2020-11-20 12:37:14 +01:00 |
|
Benoit Daloze
|
a699edbce6
|
Add test for ruby-3.0.0-preview1
v1.51.3
|
2020-11-19 00:33:41 +01:00 |
|
Benoit Daloze
|
e38f9abc9e
|
Fix usages of string.split(sep, limit)
* Since the limit just removes further matches in JavaScript.
|
2020-11-19 00:33:40 +01:00 |
|
Benoit Daloze
|
7c2bf7263d
|
Ensure an engine-only ruby-version picks the latest stable version and not a preview or RC
v1.51.2
|
2020-11-18 21:52:51 +01:00 |
|
Benoit Daloze
|
34fbbc1d36
|
Update README.md
|
2020-11-16 12:13:08 +01:00 |
|
Benoit Daloze
|
9bc07a3af0
|
No builds of truffleruby{,-head} on macos-11.0 yet
v1.51.1
|
2020-11-13 10:48:04 +01:00 |
|
Benoit Daloze
|
63dde36864
|
Remove the Caching bundle install manually section
* It is too error prone and the automatic approach is a lot safer and easier.
|
2020-11-13 10:38:56 +01:00 |
|
Benoit Daloze
|
fde3324171
|
Remove redundant bundle install in the usage examples
|
2020-11-13 10:38:56 +01:00 |
|
Benoit Daloze
|
59aafb8612
|
Add support for macos-11.0
|
2020-11-13 10:33:21 +01:00 |
|
Benoit Daloze
|
ad1ebae995
|
Also include the version in the platform for macos and windows
* Guess the platform based on $ImageOS.
v1.51.0
|
2020-11-12 20:23:53 +01:00 |
|
Benoit Daloze
|
f4a8aa6c33
|
Use ImageOS for the cache key, so it also includes the OS version
v1.50.4
|
2020-11-12 19:59:05 +01:00 |
|
Benoit Daloze
|
bc0f274d1c
|
Fix Bundler cache when there is no Gemfile.lock
* Always show the list of installed gems in the log.
|
2020-11-12 19:34:43 +01:00 |
|
Benoit Daloze
|
1c896c8ea1
|
Always use Bundler 1 for JRuby 9.1.x
v1.50.3
|
2020-11-12 19:08:42 +01:00 |
|
Benoit Daloze
|
ba761ba8ff
|
Use a hardcoded toolcache path since we need to extract there to let Ruby work
v1.50.2
|
2020-11-10 19:58:59 +01:00 |
|
Benoit Daloze
|
bb3a0c6e0b
|
Bundler 2 is shipped with truffleruby-head now
v1.50.1
|
2020-11-10 15:33:41 +01:00 |
|
Benoit Daloze
|
8e77d9e0fa
|
Mention RUNNER_TOOL_CACHE requirements for self-hosted runners
|
2020-11-10 11:44:22 +01:00 |
|
Benoit Daloze
|
339f055c86
|
Clarify Windows check
|
2020-11-10 11:35:50 +01:00 |
|
Benoit Daloze
|
0592d01dc3
|
Ruby 2.4 is EOL
https://www.ruby-lang.org/en/news/2020/04/05/support-of-ruby-2-4-has-ended/
|
2020-11-09 19:42:02 +01:00 |
|
Benoit Daloze
|
d7b76f909a
|
Add Ruby 3.0.0-preview1
* Fixes https://github.com/ruby/setup-ruby/issues/100
v1.50.0
|
2020-11-09 13:07:33 +01:00 |
|
Benoit Daloze
|
ebed7f7b66
|
Invalidate cache key since Rubies are installed in the toolcache now
* Some gems might capture the absolute path of the Ruby prefix.
|
2020-11-09 13:01:13 +01:00 |
|
Benoit Daloze
|
933dca770c
|
Extract CRuby releases under $RUNNER_TOOL_CACHE
|
2020-11-09 13:00:42 +01:00 |
|
Benoit Daloze
|
693cf1794d
|
Include the Gemfile path in the cache key
* See https://github.com/ruby/setup-ruby/issues/103#issuecomment-723960352
|
2020-11-09 13:00:04 +01:00 |
|
Benoit Daloze
|
efda314f4a
|
Remove Rubinius support
* Fixes https://github.com/ruby/setup-ruby/issues/101
v1.49.0
|
2020-11-09 12:50:25 +01:00 |
|
Benoit Daloze
|
c49deecea1
|
Rubinius builds will no longer be provided
v1.48.0
|
2020-11-08 19:13:11 +01:00 |
|
Benoit Daloze
|
5da31b45d7
|
Revert "Test installing rake to check RubyGems recognizes the executable as safe to override"
* This reverts commit 35f0af38a7.
* It fails for some cases like Ruby <= 2.2 and on some RubyInstaller builds,
see https://github.com/ruby/setup-ruby/issues/98#issuecomment-723468255
* Most users will use Bundler to install rake, and that already works fine.
|
2020-11-07 17:53:13 +01:00 |
|
Benoit Daloze
|
4bb29a57df
|
Use the new format for ruby-builder version strings
|
2020-11-07 16:55:06 +01:00 |
|
Benoit Daloze
|
9be533b7d4
|
Print JRuby Windows versions for ruby-builder conveniently
|
2020-11-01 17:11:43 +01:00 |
|
Benoit Daloze
|
35f0af38a7
|
Test installing rake to check RubyGems recognizes the executable as safe to override
|
2020-11-01 16:54:38 +01:00 |
|
Benoit Daloze
|
b9ca796ede
|
Print RbConfig values in tests
|
2020-10-23 15:58:23 +02:00 |
|
Benoit Daloze
|
11082225e4
|
Mention bundler-cache: true in the README examples
|
2020-10-22 14:13:53 +02:00 |
|