summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml20
1 files changed, 13 insertions, 7 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 7d20478..336b691 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -5,11 +5,17 @@ on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ ruby: [ 2.7, 2.6, 2.5, 2.4 ]
steps:
- - uses: actions/checkout@master
- - name: Install dependencies
- run: |
- gem install bundler --no-document
- bundle install
- - name: Run test
- run: rake
+ - uses: actions/checkout@v2
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ - name: Install dependencies
+ run: bundle install
+ - name: Run test
+ run: rake