.github/workflows/ci.yml
name: CI
on:
push:
branches: ['master']
pull_request:
branches: ['**']
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
# TODO restore 2.2 once RubyGems issue is resolved?
ruby: ['2.0', '2.1', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', head]
runs-on: ${{ matrix.os }}
env:
BUNDLE_WITHOUT: development
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
continue-on-error: ${{ matrix.ruby == 'head' }}