ruby 3.3 #503
Workflow file for this run
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: test | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false # run all tests so we see which gem/ruby combinations break | |
matrix: | |
ruby: ['3.0', '3.1', '3.2', '3.3', head, jruby-head] | |
os: [ubuntu-latest, windows-latest] | |
task: [spec] | |
include: | |
- ruby: '3.0' # lowest supported version, same as gemspec and .rubocop.yml | |
os: ubuntu-latest | |
task: rubocop | |
steps: | |
- uses: actions/checkout@master | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: rake ${{ matrix.task }} | |
# allow ruby/jruby-head to fail since they are moving targets | |
# TODO: this will always show green, fix once https://github.com/actions/toolkit/issues/399 is resolved | |
continue-on-error: ${{ endsWith(matrix.ruby, 'head') }} | |
run: bundle exec rake ${{ matrix.task }} |