name: Ruby on: [push, pull_request] jobs: build-ruby-26: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.x - name: Build and test with Rake run: | gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake build-ruby-25: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.5 uses: actions/setup-ruby@v1 with: ruby-version: 2.5.x - name: Build and test with Rake run: | gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake build-ruby-24: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.5 uses: actions/setup-ruby@v1 with: ruby-version: 2.5.x - name: Build and test with Rake run: | gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake