Skip to content

Add support for rails 8 & 8.1 and specs for ruby 3.2, 3.3, 3.4, 4.0 #24

Add support for rails 8 & 8.1 and specs for ruby 3.2, 3.3, 3.4, 4.0

Add support for rails 8 & 8.1 and specs for ruby 3.2, 3.3, 3.4, 4.0 #24

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
- "3.4"
- "4.0"
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Lint with rubocop
run: bundle exec rubocop --parallel
- name: Test & Publish code coverage
uses: paambaati/codeclimate-action@v3.1.1
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageCommand: bundle exec rspec