Skip to content

Drop support for Ruby 3.1 and 3.2, Rails 7.0 #131

Drop support for Ruby 3.1 and 3.2, Rails 7.0

Drop support for Ruby 3.1 and 3.2, Rails 7.0 #131

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
rubocop:
name: RuboCop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # actions/checkout@v6 see https://github.com/actions/checkout/releases/tag/v6
with:
fetch-depth: 0 # fetch everything
- name: Set up Ruby
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # ruby/setup-ruby@v1 see https://github.com/ruby/setup-ruby/tree/v1
with:
ruby-version: 4.0
- name: Install dependencies
run: bundle install
- name: Run RuboCop against BASE..HEAD changes
run: bundle exec rake rubocop:diff origin/${GITHUB_BASE_REF#*/}