Bump version for 0.5.1 #31
Workflow file for this run
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: | |
tests: | |
strategy: | |
matrix: | |
rails-version: | |
- "6.1" | |
- "7.0" | |
- "7.1" | |
- "main" | |
include: | |
- rails-version: "6.1" | |
ruby-version: "2.5" | |
- rails-version: "7.0" | |
ruby-version: "2.7" | |
- rails-version: "7.1" | |
ruby-version: "2.7" | |
- rails-version: "main" | |
ruby-version: "3.2" | |
env: | |
RAILS_VERSION: "${{ matrix.rails-version }}" | |
name: ${{ format('Tests (Ruby {0}, Rails {1})', matrix.ruby-version, matrix.rails-version) }} | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Run tests | |
run: | | |
bin/test test/**/*_test.rb | |
- name: Fail when generated changes are not checked-in | |
run: | | |
git update-index --refresh | |
git diff-index --quiet HEAD -- |