Be clear about supported Rails and Ruby versions #175
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: Build | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
name: Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }} | |
strategy: | |
fail-fast: false | |
matrix: | |
rails: ["7.1", "7.0", "6.1", main] | |
ruby: ["3.2", "3.1", "3.0"] | |
runs-on: 'ubuntu-latest' | |
env: | |
ARUBA_TIMEOUT: 240 | |
BUNDLE_GEMFILE: gemfiles/rails${{ matrix.rails }}.gemfile | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Setup project | |
run: bundle install | |
- name: Run test | |
run: bundle exec rake |