Skip to content

Add Ruby 3.2/3.3 support and drop 2.6/2.7 #8

Add Ruby 3.2/3.3 support and drop 2.6/2.7

Add Ruby 3.2/3.3 support and drop 2.6/2.7 #8

Workflow file for this run

name: tests
on:
push:
branches:
- "master"
pull_request:
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop --parallel --extra-details --display-style-guide
tests:
strategy:
matrix:
ruby-version: ["3.0", "3.1", "3.2", "3.3"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "${{ matrix.ruby-version }}"
- name: Run tests
run: bundle exec rspec --format RSpec::Github::Formatter