Skip to content

Restrict Ruby minimal version to 3.1 #75

Restrict Ruby minimal version to 3.1

Restrict Ruby minimal version to 3.1 #75

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ '**' ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ruby: 3.1
- ruby: 3.2
- ruby: 3.3
- ruby: head
name: ruby ${{ matrix.ruby }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec
- name: Code Climate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: d1116c05a48e27785cb11369bde3a5e7f9d9e5a114d294bcbefa19cd193b029c