Skip to content

Centralize Ruby Version to .ruby-version #4

Centralize Ruby Version to .ruby-version

Centralize Ruby Version to .ruby-version #4

Workflow file for this run

name: CI
on:
pull_request:
branches:
- '**'
push:
branches:
- master
jobs:
build:
name: Ruby ${{ matrix.version }} ${{ matrix.gemfile }}
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.7', '3.0', '3.1', '3.2', '3.3' ]
gemfile:
- Gemfile
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.version }}
bundler-cache: true
- name: Test
run: bundle exec rake test