@@ -64,13 +64,14 @@ jobs:
6464 - uses : actions/checkout@v2
6565 - uses : ruby/setup-ruby@v1
6666 with :
67- ruby-version : 2.6
68- - run : ruby -v
67+ ruby-version : 2.6 # Not needed with a .ruby-version file
68+ - run : bundle install
69+ - run : bundle exec rake
6970` ` `
7071
7172### Matrix
7273
73- This matrix tests all stable releases of MRI, JRuby and TruffleRuby on Ubuntu and macOS.
74+ This matrix tests all stable releases and ` head` versions of MRI, JRuby and TruffleRuby on Ubuntu and macOS.
7475
7576` ` ` yaml
7677name: My workflow
@@ -80,17 +81,22 @@ jobs:
8081 strategy:
8182 fail-fast: false
8283 matrix:
83- os : [ ubuntu-latest, macos-latest ]
84- ruby : [ 2.5, 2.6, 2.7, jruby, truffleruby ]
85- runs-on : ${{ matrix.os }}
84+ os: [ubuntu, macos]
85+ ruby: [2.5, 2.6, 2.7, head, debug, jruby, jruby-head, truffleruby, truffleruby-head]
86+ runs-on: ${{ matrix.os }}-latest
87+ continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
8688 steps:
8789 - uses: actions/checkout@v2
8890 - uses: ruby/setup-ruby@v1
8991 with:
9092 ruby-version: ${{ matrix.ruby }}
91- - run : ruby -v
93+ - run: bundle install
94+ - run: bundle exec rake
9295` ` `
9396
97+ See the [GitHub Actions documentation](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions)
98+ for more details about the workflow syntax.
99+
94100# ## Supported Version Syntax
95101
96102* engine-version like `ruby-2.6.5` and `truffleruby-19.3.0`
0 commit comments