Benoit Daloze
052cbd8ee4
Test bundle exec too
2020-01-30 23:24:13 +01:00
Benoit Daloze
001fd1b7c7
Document the choice of the drive on Windows
2020-01-30 22:17:19 +01:00
Benoit Daloze
5dd450999e
Fix link to example
2020-01-25 18:19:48 +01:00
Benoit Daloze
3551d3fbd4
Store the available Ruby versions in this repository
...
* That way it's always perfectly synchronized with the action. In
practice querying another repository sometimes returned a stale copy.
* Avoids an extra HTTPS request.
* The axios dependency is no longer needed.
* Makes it possible to tweak the versions available according to the platform.
2020-01-25 18:03:33 +01:00
Benoit Daloze
07160f610f
Move ruby-installer-versions.js to windows-versions.js for clarity
2020-01-25 18:03:19 +01:00
Benoit Daloze
0449254cae
Add Rubinius to the README
2020-01-25 18:03:19 +01:00
Benoit Daloze
689f94552b
Add support for Rubinius
...
* Only works on ubuntu-latest.
2020-01-25 16:54:03 +01:00
Benoit Daloze
db2d09d84c
Rubinius fails to build the latest json 2.3.0 gem
2020-01-25 16:54:00 +01:00
Benoit Daloze
8b354c238c
Show OpenSSL version for all platforms in test
2020-01-20 22:56:18 +01:00
Benoit Daloze
7f4c88c00b
Give credit where credit is due
2020-01-19 23:08:30 +01:00
Benoit Daloze
dbac26120b
Add support for JRuby on Windows
2020-01-19 22:56:19 +01:00
Benoit Daloze
0f26fedc26
Improve error message
2020-01-19 22:55:15 +01:00
Benoit Daloze
7da380d64e
Add support for Ruby 2.3 on Windows
2020-01-19 18:24:29 +01:00
Benoit Daloze
5f2df8a190
Link to the full list of versions on Windows
2020-01-19 15:13:03 +01:00
Benoit Daloze
4ff821c778
Try to trigger CI on push to branches but not to tags
...
* Running CI on tag is redundant with the branch push.
* Do not build on pushes to v1 as CI already ran on the master commit before.
2020-01-19 14:46:57 +01:00
Benoit Daloze
34fa48c067
Simplify steps descriptions
2020-01-19 14:46:57 +01:00
Benoit Daloze
a66a46f031
Refactor code to share logic between ruby-install-builder and windows
...
* Make use of ruby-installer-versions.js to validate the version on Windows.
2020-01-19 14:46:57 +01:00
Benoit Daloze
537d9f67b4
Add explicit dependency on @actions/exec
2020-01-19 14:28:24 +01:00
Benoit Daloze
69599c886c
Add a script to generate a list of available version from RubyInstaller
2020-01-19 14:28:19 +01:00
Benoit Daloze
247acff66d
Remove no longer needed workaround
2020-01-19 13:01:02 +01:00
Benoit Daloze
7978ff1579
Print the OpenSSL version
2020-01-18 16:42:55 +01:00
Benoit Daloze
30cd88adf9
Use the newer builds from ruby-install-builder
...
* Which uses a newer OpenSSL for Ruby 2.3 on Ubuntu and macOS.
2020-01-18 16:36:23 +01:00
Benoit Daloze
7005fbe92a
Embed the used tag in this repo for atomic updates
...
* Avoids stale cached requests for the latest_release.tag file.
* This also ensures reproducible builds for this repository.
2020-01-18 16:36:05 +01:00
Benoit Daloze
026be4409b
Fix typo in OpenSSL test
2020-01-18 14:39:18 +01:00
Benoit Daloze
0ed24c9d6c
Use shorter links in README
2020-01-17 23:17:26 +01:00
Benoit Daloze
9dab9b8155
Use a table for the Supported Platforms
2020-01-17 23:14:05 +01:00
Benoit Daloze
69709d16de
Simplify the supported versions section
...
* Do not recommend a specific version syntax, different projects have
different needs. The sample usages below already show the recommendation.
2020-01-17 23:01:13 +01:00
Benoit Daloze
ae627f04d2
Skip CI when only modifying the README
2020-01-17 22:55:24 +01:00
Benoit Daloze
eb85b2a580
Use the full repository name as the README title
2020-01-17 22:31:38 +01:00
Benoit Daloze
61efe96192
Use a single bug tracker for the action
2020-01-17 22:30:14 +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
74ac24dec4
Add a section about versioning
2020-01-17 22:09:58 +01:00
Benoit Daloze
b01832a197
Recommend to use eregon/use-ruby-action@v1 in the README
2020-01-17 22:00:29 +01:00
Benoit Daloze
66836a17bb
Add TruffleRuby 19.3.1
2020-01-15 10:54:10 +01:00
Benoit Daloze
933f496844
Add a note about Ruby 2.4 on Windows
...
* See https://github.com/eregon/ruby-build/pull/1#issuecomment-573237440
2020-01-11 00:03:25 +01:00
Benoit Daloze
b3249de963
Fix typo
2020-01-10 23:07:19 +01:00
Benoit Daloze
2a5386fca2
Improve clarity about the key for caching bundle install
2020-01-10 23:06:04 +01:00
Benoit Daloze
51f9fc6d8a
Show a full example for caching bundle install
...
* Which should help avoid conflicts with previous caches
* See https://github.com/eregon/use-ruby-action/issues/7
2020-01-10 23:00:33 +01:00
Benoit Daloze
0b83c28888
Add a note about the workaround for https://github.com/actions/virtual-environments/issues/242
2020-01-09 18:16:05 +01:00
Benoit Daloze
4c25e810ed
All 33 Ruby versions between 2.3.0 and 2.7.0 are now supported
2020-01-09 00:12:16 +01:00
Benoit Daloze
2127b4bb68
All Ruby versions between 2.4.0 and 2.6.5 are now supported
2020-01-08 22:47:25 +01:00
Benoit Daloze
819c372fe9
Install Bundler 1 on Windows for Ruby < 2.6 without Bundler
2020-01-08 22:15:01 +01:00
Benoit Daloze
268389d93d
Use Bundler 1 for Rubies which don't already ship Bundler (< 2.6)
2020-01-08 21:55:11 +01:00
Benoit Daloze
92bcdc74f7
Link to the actions/cache example for Bundler caching
2020-01-07 22:11:59 +01:00
Benoit Daloze
5ee96a474a
Keep documentation about the version syntax in one place
2020-01-06 22:11:28 +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
b339f321d1
Run lint in CI
2020-01-06 22:00:30 +01:00
Benoit Daloze
73ad84b99b
Document about Bundler
2020-01-05 23:34:38 +01:00
Benoit Daloze
565ac51b83
Check that Bundler works
2020-01-05 23:26:03 +01:00
Benoit Daloze
f06c4d9ab7
Install Bundler if needed on Windows
2020-01-05 23:21:44 +01:00
Benoit Daloze
5adac4fda6
Check that Bundler is installed
2020-01-05 23:20:09 +01:00
Benoit Daloze
3c644cf2fc
Better error if MSYS2 is missing
2020-01-05 19:47:18 +01:00
Benoit Daloze
101f62de1d
Add support for Windows
2020-01-05 19:33:14 +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
4c00b61136
Simplify the README
2020-01-05 13:03:07 +01:00
Benoit Daloze
d49a90aea9
tmp
2020-01-05 13:02:10 +01:00
Benoit Daloze
1d7622c155
Use a consistent ordering for JRuby and TruffleRuby
2020-01-05 13:00:17 +01:00
Benoit Daloze
a90d45f642
Improve the README
2020-01-05 12:55:52 +01:00
Benoit Daloze
d9cd49386b
Add support for Ruby 2.3
...
* Fixes https://github.com/eregon/use-ruby-action/issues/3
2020-01-05 12:50:37 +01:00
Benoit Daloze
7d189e2075
Improve error message when a version is not available
2020-01-04 16:18:37 +01:00
Benoit Daloze
77cddd78e4
Use unquoted versions as they work fine and are more concise
...
* More consistent with the platform.
2020-01-03 14:17:02 +01:00
Benoit Daloze
7375b1fba0
No need to quote the platform
2020-01-03 14:09:37 +01:00
Benoit Daloze
0c2ef9d00c
Polish the README
2020-01-03 14:07:39 +01:00
Benoit Daloze
02a916e783
Support short version syntax
2020-01-03 14:03:19 +01:00
Benoit Daloze
83e66a9c15
Use yarn instead of npm, to make run lint work
2020-01-03 14:03:19 +01:00
Benoit Daloze
d4d232f50e
Add an example for testing against all stable versions
...
* Test it in CI too.
2020-01-02 22:58:57 +01:00
Benoit Daloze
b8d447ba75
Fill action.yml
2020-01-02 21:57:47 +01:00
Benoit Daloze
ba0d1c89da
Use the latest release files from ruby-install-builder
2020-01-02 21:19:11 +01:00
Benoit Daloze
04659807c0
Link to ruby-install-builder
2020-01-02 19:56:19 +01:00
Benoit Daloze
5e0c503709
Use a stable link for the list of versions
2020-01-02 19:50:55 +01:00
Benoit Daloze
3725e310cf
Make the release link more future-proof
2020-01-02 16:59:39 +01:00
Benoit Daloze
2eb854e1c3
Clarify supported runners in the README
2020-01-02 16:15:42 +01:00
Benoit Daloze
a669bed6a4
Extract function to get the Ruby engine and version
2020-01-02 16:15:42 +01:00
Benoit Daloze
3f99912f55
Automatically find the latest stable version
2020-01-02 16:15:42 +01:00
Benoit Daloze
ec43599b3f
Remove direct workflow to lessen CI load
...
* Also the action is becoming more flexible now.
2020-01-02 15:51:05 +01:00
Benoit Daloze
179e85affc
Get started
2020-01-01 16:54:25 +01:00
Benoit Daloze
a2c514c40d
Update generated files
2020-01-01 16:54:25 +01:00
Benoit Daloze
428fa106ea
Add test manually downloading the built ruby
2020-01-01 13:32:15 +01:00
Benoit Daloze
775a4e4019
Initial commit
2020-01-01 12:39:26 +01:00