Update release workflow #307
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: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
# To keep matrix size down, only test highest and lowest rubies. | |
ruby: ["3.0", "3.3"] | |
rails: ["7.0", "7.1", "7.2", "8.0"] | |
exclude: | |
- ruby: "3.0" | |
rails: "7.2" | |
- ruby: "3.0" | |
rails: "8.0" | |
name: Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }} | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: supercharge/[email protected] | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rake |