Skip to content

Commit 4c00b61

Browse files
committed
Simplify the README
1 parent d49a90a commit 4c00b61

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

README.md

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
4949
### Matrix
5050
51+
This matrix tests all stable releases of MRI, JRuby and TruffleRuby on Ubuntu and macOS.
52+
5153
```yaml
5254
name: My workflow
5355
on: [push]
@@ -57,7 +59,7 @@ jobs:
5759
fail-fast: false
5860
matrix:
5961
os: [ ubuntu-latest, macos-latest ]
60-
ruby: [ 2.6, 2.7, jruby, truffleruby ]
62+
ruby: [ 2.4, 2.5, 2.6, 2.7, jruby, truffleruby ]
6163
runs-on: ${{ matrix.os }}
6264
steps:
6365
- uses: actions/checkout@v2
@@ -74,29 +76,6 @@ jobs:
7476
* version only like `2.6.5`, assumes MRI for the engine
7577
* engine only like `truffleruby`, uses the latest stable release of that implementation
7678

77-
### All Stable Versions
78-
79-
With that, we can test on all stable releases of MRI, JRuby and TruffleRuby with:
80-
81-
```yaml
82-
name: My workflow
83-
on: [push]
84-
jobs:
85-
test:
86-
strategy:
87-
fail-fast: false
88-
matrix:
89-
os: [ ubuntu-latest, macos-latest ]
90-
ruby: [ 2.4, 2.5, 2.6, 2.7, jruby, truffleruby ]
91-
runs-on: ${{ matrix.os }}
92-
steps:
93-
- uses: actions/checkout@v2
94-
- uses: eregon/use-ruby-action@master
95-
with:
96-
ruby-version: ${{ matrix.ruby }}
97-
- run: ruby -v
98-
```
99-
10079
## Limitations
10180

10281
* Currently does not work on Windows since the builder doesn't build on Windows.

0 commit comments

Comments
 (0)