diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..564bc2c --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,22 @@ +name: Ruby + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: ['2.4', '2.5', '2.6'] + + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby ${{ matrix.ruby-version }} + uses: actions/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + - name: Build and test with Rake + run: | + gem install bundler + bundle install --jobs 4 --retry 3 + bundle exec rake