Skip to content

(chore) housekeeping #240

(chore) housekeeping

(chore) housekeeping #240

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 # latest Rails
- gemfiles/Gemfile-rails-6-1
- gemfiles/Gemfile-rails-7-0
ruby:
- "3.0"
- "3.1"
- "3.2"
- "3.3"
# exclude:
# - gemfile: gemfiles/Gemfile-rails-6-0
# ruby: '3.2'
env:
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