.github/workflows/push.yml in inertia_rails-1.3.1 vs .github/workflows/push.yml in inertia_rails-1.4.0
- old
+ new
@@ -1,22 +1,28 @@
name: Testing
-on: [push]
+on: [push, pull_request]
jobs:
test:
+ strategy:
+ fail-fast: false
+ matrix:
+ ruby: [2.6, 2.7]
+
runs-on: ubuntu-latest
+ name: Test against Ruby ${{ matrix.ruby }}
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: Setup System
run: sudo apt-get install libsqlite3-dev
- - name: Set up Ruby 2.6
- uses: actions/setup-ruby@v1
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
with:
- ruby-version: 2.6.x
+ ruby-version: ${{ matrix.ruby }}
- name: Install gems
run: |
gem install bundler
bundle install --jobs 4 --retry 3