Skip to content

Fix testing with Ruby 3.2 (#67) #105

Fix testing with Ruby 3.2 (#67)

Fix testing with Ruby 3.2 (#67) #105

Workflow file for this run

# .github/workflows/ci.yml
name: Matrix Testing + Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
- run: bundle install
- run: bundle exec standardrb
test:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos]
ruby: ["2.5", "2.6", "2.7", "3.0", "3.1", "3.2"]
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle install
- run: bundle exec rake