Skip to content

Version bump to 2.4.0 #73

Version bump to 2.4.0

Version bump to 2.4.0 #73

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true # 'bundle install' and cache
- name: Rubocop
run: bundle exec rubocop --format progress
- name: Inch
run: "ruby -e \"require 'json'; res = JSON.parse('$(bundle exec inch stats --format=json)')['grade_lists']; exit(1) if res['C'].positive? || res['U'].positive?\""
test:
needs: [linting]
runs-on: ubuntu-latest
env:
RAILS_VERSION: '~> ${{ matrix.rails }}'
strategy:
matrix:
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
rails: [ '6.0.0', '6.1.0', '7.0.0', '7.1.0', '7.2.0' ]
exclude:
- ruby: '2.7'
rails: '7.2.0'
- ruby: '3.0'
rails: '7.2.0'
- ruby: '3.2'
rails: '6.0.0'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # 'bundle install' and cache
- name: Run tests
run: bundle exec rake