Skip to content

Add more models for dummy (#7) #75

Add more models for dummy (#7)

Add more models for dummy (#7) #75

Workflow file for this run

name: ci
on: push
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, 3.3]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache/restore@v4
with:
key: gems
path: vendor/bundle
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle config set path --local vendor/bundle && bundle &&
cd spec/dummy && bundle config set path --local ../../vendor/bundle && bundle
- name: Cache RubyGems
uses: actions/cache/save@v4
with:
key: gems
path: vendor/bundle
- name: Run tests
run: bundle exec appraisal bin/check
- if: ${{ matrix.ruby == '3.3' }}
name: Run linters
run: bundle exec appraisal rails_8 bin/fastcheck