Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ruby_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Ruby CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7.5', '3.0.3', '3.1.0']
appraisal: ['rails_6.1', 'rails_7.0']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: '2.3.10'
- name: Install dependencies
run: |
bundle install
- name: Install appraisal dependencies
run: bundle exec appraisal install
- name: Run appraisal
run: bundle exec appraisal ${{ matrix.appraisal }} rspec