.github/workflows/checks.yml in regio-0.2.0 vs .github/workflows/checks.yml in regio-0.3.0
- old
+ new
@@ -5,16 +5,20 @@
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
rspec:
- name: RSpec
+ name: RSpec with ruby ${{matrix.ruby}}
runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ ruby: ['2.6', '2.7', '3.0', '3.1', head]
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
- ruby-version: 3.1.2
+ ruby-version: ${{matrix.ruby}}
bundler-cache: true
- name: Test with RSpec
run: COVERAGE=true bundle exec rspec
rubocop:
name: RuboCop