Deprecate scrapbook
and pathname
locals in Scrapbook pages
#67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |