Skip to content

Bump ruby/setup-ruby from 1.302.0 to 1.308.0 #281

Bump ruby/setup-ruby from 1.302.0 to 1.308.0

Bump ruby/setup-ruby from 1.302.0 to 1.308.0 #281

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [3.0, 3.1, 3.2, 3.3, 3.4, 4.0]
graphql_version: ['~> 1.13', '~> 2.0']
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
env:
GRAPHQL_VERSION: ${{ matrix.graphql_version }}
GRAPHQL_FUTURE: ${{ (matrix.graphql_version == '~> 2.0' && matrix.ruby_version == 4.0 && 'YES') || 'NO' }}
- run: bundle exec rake