.github/workflows/test.yml in itax_code-0.2.0 vs .github/workflows/test.yml in itax_code-0.3.0
- old
+ new
@@ -1,21 +1,24 @@
name: Test
-on: [push]
+on:
+ pull_request:
+ types:
+ - opened
+ - reopened
+ - synchronize
jobs:
test:
runs-on: ubuntu-latest
+ continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
strategy:
fail-fast: false
matrix:
- ruby: [2.5, 2.6, 2.7, head]
- continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
+ ruby: [2.5, 2.6, 2.7, '3.0', 3.1, head]
steps:
- - name: Checkout
- uses: actions/checkout@v2
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
+ - uses: actions/checkout@v2
+ - uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- run: bundle install
- run: bundle exec rake