Skip to content

Create template helper for Scrapbook pages #66

Create template helper for Scrapbook pages

Create template helper for Scrapbook pages #66

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rubocop
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
ruby-version: ['2.7', '3.0', '3.1', '3.2']
rails-version: ['6.1', '7.0', '7.1']
runs-on: ${{ matrix.os }}
env:
RAILS_VERSION: "${{ matrix.rails-version }}"
name: ${{ format('test ({0}, Ruby {1}, Rails {2})', matrix.os, matrix.ruby-version, matrix.rails-version) }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rspec