Skip to content

ruby 3.3

ruby 3.3 #498

Workflow file for this run

name: test
on:
push:
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 }}