Skip to content

Commit

Permalink
Update ruby.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radar authored Oct 6, 2019
1 parent b25948c commit 97c8a53
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Ruby

on: [push]

jobs:
build:
strategy:
matrix:
ruby_version: [2.6.x, 2.5.x, 2.4.x, ruby-head, rbx, jruby]
gemfile: [Gemfile, gemfiles/Gemfile.rails-5.0.x, gemfiles/Gemfile.rails-5.1.x, gemfiles/Gemfile.rails-5.2.x, gemfiles/Gemfile.rails-master]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Build and test with Rake
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake

0 comments on commit 97c8a53

Please sign in to comment.