Get the build green for modern ruby and rack and rubocop-rspec #602
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: build | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
rails: ["7.1", "7.0", "6.1", "6.0"] | |
ruby: ["3.3", "3.2", "3.1", "3.0", "2.7"] | |
include: | |
- rails: "7.1" | |
ruby: "3.4.0-preview1" | |
- rails: "5.2" | |
ruby: "2.7.8" | |
- rails: "5.1" | |
ruby: "2.6.10" | |
- rails: "5.0" | |
ruby: "2.6.10" | |
env: | |
RAILS_VERSION: ${{ matrix.rails }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rspec |