name: build

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby:
        - '2.4'
        - '2.5'
        - '2.6'
        - 'rc'
    container:
      image: ruby:${{ matrix.ruby }}

    steps:
    - uses: actions/checkout@v1
    - name: Build and test with Rake
      run: |
        gem install bundler
        bundle install --jobs 4 --retry 3
        bundle exec rake

name: build

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby:
        # https://hub.docker.com/_/ruby
        - '2.4'
        - '2.5'
        - '2.6'
        - '2.7'
        - 'latest'
    container:
      image: ruby:${{ matrix.ruby }}

    steps:
    - uses: actions/checkout@v1
    - name: Build and test with Rake
      run: |
        gem install bundler
        bundle install --jobs 4 --retry 3
        bundle exec rake

Add Ruby 2.7 to matrix
[CI] Add Ruby 2.7 to matrix
