Ignore ruby-head in the CI matrix #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Ruby ${{ matrix.ruby_version }} / ActionView ${{ matrix.actionview_version }} | |
strategy: | |
matrix: | |
ruby_version: [ruby-head, '3.3', '3.2', '3.1'] | |
actionview_version: ['7.1', '7.0', '6.1'] | |
env: | |
ACTIONVIEW_VERSION: ${{ matrix.actionview_version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rm -f Gemfile.lock | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
bundler-cache: true | |
continue-on-error: ${{ matrix.ruby_version == 'ruby-head' }} | |
- run: bundle exec rake | |
continue-on-error: ${{ matrix.ruby_version == 'ruby-head' }} |