pre-release version of v1 #545
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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.0", "3.1", "3.2", "3.3"] | |
rails: [ "7.1", "7.2", "8.0"] | |
exclude: | |
- ruby: "3.0" | |
rails: "8.0" | |
- ruby: "3.1" | |
rails: "8.0" | |
- ruby: "3.0" | |
rails: "7.2" | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, | |
# change this to (see https://github.com/ruby/setup-ruby#versioning): | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true # 'bundle install' and cache gems | |
ruby-version: ${{ matrix.ruby }} | |
- name: Run the default task | |
run: bundle exec rake | |
timeout-minutes: 2 |