Skip to content

Fix cache_write_multi_test to support normalized_hash in Rails edge #1348

Fix cache_write_multi_test to support normalized_hash in Rails edge

Fix cache_write_multi_test to support normalized_hash in Rails edge #1348

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
schedule:
- cron: "20 12 * * *"
jobs:
test:
name: Test on Ruby ${{ matrix.ruby }} with Rails ${{ matrix.rails }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
rails: ['6.0', '6.1', '7.0', '7.1', 'edge']
exclude:
- ruby: '2.6'
rails: '7.0'
- ruby: '2.6'
rails: '7.1'
- ruby: '2.6'
rails: 'edge'
- ruby: '2.7'
rails: '7.1'
- ruby: '2.7'
rails: 'edge'
- ruby: '3.0'
rails: 'edge'
env:
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update -y && sudo apt-get install -y --no-install-recommends libvips
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3'
bundler-cache: true
- run: bundle exec rubocop --debug