Skip to content

Fix rails 8

Fix rails 8 #107

Workflow file for this run

name: ci
on: push
jobs:
test:
runs-on: ubuntu-latest
env:
BUNDLE_PATH: vendor/bundle
strategy:
matrix:
ruby: [3.0, 3.3]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v4
with:
key: gems
path: |
gemfiles
vendor/bundle
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Set up Hotsheet
run: bundle && bundle exec appraisal install && bundle exec rails db:create db:schema:load
- name: Run tests
run: bundle exec appraisal bin/check
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
- name: Install dependencies
run: bundle
- name: Run linters
run: bin/fastcheck