Skip to content

exclude ruby 3.1 and rails 8 #19

exclude ruby 3.1 and rails 8

exclude ruby 3.1 and rails 8 #19

Workflow file for this run

name: Build
on: [push]
jobs:
tests:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [3.1, 3.2, 3.3, 3.4]
gemfile:
- Gemfile
- gemfiles/activerecord_7_0.gemfile
- gemfiles/activerecord_7_1.gemfile
- gemfiles/activerecord_7_2.gemfile
- gemfiles/activerecord_8_0.gemfile
exclude:
ruby: 3.1

Check failure on line 18 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 18, Col: 11): A mapping was not expected
gemfile: gemfiles/activerecord_8_0.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Unit Tests
run: bundle exec rspec
- name: Coveralls
if: ${{ matrix.gemfile == 'Gemfile' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}