Skip to content

Add 3.1 and 3.2 to the list of Ruby CI versions #44

Add 3.1 and 3.2 to the list of Ruby CI versions

Add 3.1 and 3.2 to the list of Ruby CI versions #44

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
ruby_version: [2.6, 2.7, 3.0, 3.1, 3.2]
fail-fast: false
runs-on: ubuntu-latest
name: Test on Ruby ${{ matrix.ruby_version }}
steps:
- uses: actions/checkout@v4
- name: Setup Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Install dependencies
run: bundle install
- name: Build gem
run: gem build yajl-ruby.gemspec
- name: Install gem
run: gem install yajl-ruby
- name: Run tests
run: bundle exec rake spec