.github/workflows/main.yml in belated-0.6.5 vs .github/workflows/main.yml in belated-0.6.6
- old
+ new
@@ -2,16 +2,21 @@
on: [push,pull_request]
jobs:
build:
- runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest, macos-latest]
+ # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
+ ruby: [2.6, 2.7, '3.0']
+ runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 3.0.2
- bundler-cache: true
- cache-version: 1
+ ruby-version: ${{ matrix.ruby }}
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run the default task
run: bundle exec rake