Skip to content

Centralize Ruby Version to .ruby-version #112

Centralize Ruby Version to .ruby-version

Centralize Ruby Version to .ruby-version #112

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [2.7, 3.0, 3.1, 3.2, 3.3]
graphql_version: ['~> 1.12.18', '~> 1.13', '~> 2.0']
include:
- ruby: 2.4
graphql_version: '~> 1.12.18'
- ruby: 2.4
graphql_version: '~> 1.13'
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
env:
GRAPHQL_VERSION: ${{ matrix.graphql_version }}
- run: bundle exec rake