Yutaka Kamei
e92b7971f0
Update Node.js from v12 to v16
...
According to the release policy of Node.js,
Node.js v12 reached EOL (end-of-life).
https://nodejs.org/en/about/releases/
I think ruby/setup-ruby is ready to update Node.js to v16
because GitHub Actions runners support v16.
https://github.com/actions/runner/issues/772
2022-05-10 11:19:53 +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
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
Jason Frey
1a68550f2e
Fix bundler: with a minor version installing the wrong version
...
If passed `bundler: 2.2`, setup-ruby would install bundler 2.3, because
it would generate a constraint that looks like `~> 2.2`. This
unexpectedly installs the latest of the 2.x series, but the expectation
is that it would install the latest of the 2.2.x series.
Fixes #304
2022-04-05 18:04:27 +02:00
David Rodríguez
8781aa98b4
Tweak rubygems input behavior
...
When a fixed version is passed, it should be the minimum RubyGems
version for the whole matrix, i.e., RubyGems should not be dowgraded
past the default version of the oldest Ruby in the matrix.
2022-01-23 11:55:32 +01:00
David Rodríguez
c3f0cb18af
Add a new input to optionally update RubyGems
2022-01-23 11:55:32 +01:00
Jakub Pavlik
fa2182b2a4
cache-version input allowing a forced change of the cache key
2021-05-15 16:32:01 +02:00
Jonathan del Strother
3e7640a17e
Document the bundler: "x.y.z" feature
2020-12-11 14:46:33 +01:00
Benoit Daloze
0effb2cc50
Document that gems.rb/gems.locked is supported now
2020-09-19 11:43:36 +02:00
Benoit Daloze
312f3d08ba
Improve the README, move the working directory section, mention $BUNDLE_GEMFILE
2020-08-13 20:34:29 +02:00
Attila Večerek
33cc6f7238
Shorten the description in action.yml
2020-08-13 20:18:19 +02:00
Attila Večerek
7ac926d65e
Update description of bundler input in action.yml
2020-08-13 20:18:19 +02:00
Benoit Daloze
d57231c9a3
Implement automatic bundle install and caching
...
* Not yet enabled by default.
2020-06-14 13:22:16 +02:00
Benoit Daloze
c28669c4da
Mention the new working-directory input in the README
2020-04-18 13:34:32 +02:00
Chris Bailey
29eefdda13
Add support for setting a working directory
2020-04-18 13:22:34 +02:00
Benoit Daloze
f964e8aa48
Try to find the Bundler version from Gemfile.lock, otherwise install latest
2020-04-01 00:10:54 +02:00
Benoit Daloze
3d6280ad19
Add support for .tool-versions
2020-02-16 14:49:55 +01:00
Benoit Daloze
818f4eeb16
The :required key is required is action.yml
...
* See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/metadata-syntax-for-github-actions
2020-02-01 13:41:57 +01:00
Benoit Daloze
7b9c95cc8e
Use "the PATH" instead of "$PATH"
...
* Since $PATH is a Unix-specific syntax.
2020-01-17 22:26:52 +01:00
Benoit Daloze
a61be15bff
Read from .ruby-version if version is unset or set to '.ruby-version'
...
* Fixes https://github.com/eregon/use-ruby-action/issues/4
2020-01-06 22:00:45 +01:00
Benoit Daloze
9432c89d1a
Recommend the short version syntax
...
* It's safer long-term and ensures to use the latest release with the most bug fixes.
2020-01-05 13:11:27 +01:00
Benoit Daloze
b8d447ba75
Fill action.yml
2020-01-02 21:57:47 +01:00
Benoit Daloze
179e85affc
Get started
2020-01-01 16:54:25 +01:00
Benoit Daloze
775a4e4019
Initial commit
2020-01-01 12:39:26 +01:00