2626 - uses : actions/checkout@v2
2727 - uses : eregon/use-ruby-action@master
2828 with :
29- ruby-version : ruby-2.6.5
29+ ruby-version : ruby-2.6
3030 - run : ruby -v
3131` ` `
3232
4141 fail-fast : false
4242 matrix :
4343 os : [ 'ubuntu-latest', 'macos-latest' ]
44- ruby : [ 'ruby-2.6.5 ', 'ruby-2.7.0 ', 'truffleruby-19.3.0', 'jruby-9.2.9.0' ]
44+ ruby : [ 'ruby-2.6', 'ruby-2.7', 'truffleruby-19.3.0', 'jruby-9.2.9.0' ]
4545 runs-on : ${{ matrix.os }}
4646 steps :
4747 - uses : actions/checkout@v2
@@ -51,10 +51,12 @@ jobs:
5151 - run : ruby -v
5252` ` `
5353
54- If a specific version is not given, it uses the latest stable release of that implementation.
55- For instance ` truffleruby` is currently the same as `truffleruby-19.3.0`.
54+ ### Supported Version Syntax
5655
57- If it's just a version number (e.g., `2.6.5`), then MRI is assumed (same as `ruby-2.6.5`).
56+ * ` engine-version` like `ruby-2.6.5` and `truffleruby-19.3.0`
57+ * short version like `2.6`, automatically using the latest release matching that version (`2.6.5`)
58+ * version only like `2.6.5`, assumes MRI for the engine
59+ * engine only like `truffleruby`, uses the latest stable release of that implementation
5860
5961# ## All Stable Versions
6062
6971 fail-fast: false
7072 matrix:
7173 os: [ 'ubuntu-latest', 'macos-latest' ]
72- ruby: [ '2.4.9 ', '2.5.7 ', '2.6.5 ', '2.7.0 ', 'truffleruby', 'jruby' ]
74+ ruby: [ '2.4', '2.5', '2.6', '2.7', 'truffleruby', 'jruby' ]
7375 runs-on: ${{ matrix.os }}
7476 steps:
7577 - uses: actions/checkout@v2
0 commit comments