From d9cd49386be933844d3149fc78573eb6837e33c3 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 5 Jan 2020 12:34:33 +0100 Subject: [PATCH] Add support for Ruby 2.3 * Fixes https://github.com/eregon/use-ruby-action/issues/3 --- .github/workflows/test.yml | 3 ++- README.md | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 759fce4..85ccbc0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,8 @@ jobs: fail-fast: false matrix: os: [ ubuntu-16.04, ubuntu-18.04, macos-latest ] - ruby: [ ruby-2.4, 2.5, ruby-2.6.5, 2.7.0, truffleruby, jruby ] + # Use various version syntaxes here for testing + ruby: [ 2.3, ruby-2.4, 2.5, ruby-2.6.5, 2.7.0, truffleruby, jruby ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 6647586..c4bd3ef 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,23 @@ This action downloads a prebuilt ruby and adds it to `$PATH`. -It currently supports the latest stable versions of MRI, JRuby and TruffleRuby. +## Supported Versions + +This action currently supports these versions of MRI, JRuby and TruffleRuby: + +| Interpreter | Versions | +| ----------- | -------- | +| Ruby | 2.3.8, 2.4.9, 2.5.7, 2.6.5, 2.7.0 | +| JRuby | 9.2.9.0 | +| TruffleRuby | 19.3.0 | See https://github.com/eregon/ruby-install-builder/blob/metadata/versions.json -for the available Ruby versions. +for the always up-to-date list of available Ruby versions. + +Note that Ruby 2.3 and the OpenSSL version it needs (1.0.2) are both end-of-life, +which means Ruby 2.3 is unmaintained and considered insecure. + +## Platforms The action works for the `ubuntu-16.04`, `ubuntu-18.04` and `macos-latest` GitHub-hosted runners. `windows-latest` is not yet supported.