chore(deps): bump rubygems/release-gem from 612653d273a73bdae1df8453e090060bb4db5f31 to a25424ba2ba8b387abc8ef40807c2c85b96cbe32 #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Test on Ruby ${{ matrix.ruby_version }}, Rails ${{ matrix.rails_version }}, graphql-ruby ${{ matrix.graphql_version }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby_version: | |
- '2.7' | |
- '3.0' | |
- '3.1' | |
- '3.2' | |
graphql_version: | |
- "~> 1.13.0" | |
- "~> 2.0.0" | |
- "~> 2.1.0" | |
- "~> 2.2.0" | |
rails_version: | |
- "~> 5.2.0" | |
- "~> 6.0.0" | |
- "~> 6.1.0" | |
- "~> 7.0.0" | |
- "~> 7.1.0" | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Set up Ruby ${{ matrix.ruby_version }} | |
uses: ruby/setup-ruby@52753b7da854d5c07df37391a986c76ab4615999 # v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
- name: Build and test | |
run: | | |
bundle install --jobs 4 --retry 3 | |
bundle exec rake test | |
env: | |
RAILS_VERSION: ${{ matrix.rails_version }} | |
GRAPHQL_VERSION: ${{ matrix.graphql_version }} | |
rubocop: | |
name: Rubocop | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@52753b7da854d5c07df37391a986c76ab4615999 # v1 | |
with: | |
ruby-version: 3.2 | |
- name: Build and test | |
run: |- | |
bundle install --jobs 4 --retry 3 | |
bundle exec rake rubocop |