Skip to content

(feat) drop support for Rails 6 #231

(feat) drop support for Rails 6

(feat) drop support for Rails 6 #231

Workflow file for this run

name: Ruby
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
gemfile:
- Gemfile
- gemfiles/Gemfile-rails-6-1
# - gemfiles/Gemfile-rails-7-0 # This is the main version now
ruby:
- '3.0'
- '3.1'
- '3.2'
# exclude:
# - gemfile: gemfiles/Gemfile-rails-6-0
# ruby: '3.2'
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cache-version: 4
- name: Rubocop
run: bundle exec rubocop -D
- name: Run tests
run: bin/test