Skip to content

Test with Ruby 3.2 and 3.3 (#31) #22

Test with Ruby 3.2 and 3.3 (#31)

Test with Ruby 3.2 and 3.3 (#31) #22

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
ruby-version: [3.3, 3.2, 3.1, 3.0, 2.7, 2.6, 2.5, 2.4, 2.3]
exclude:
- { os: macos-latest, ruby: '2.3' }

Check failure on line 16 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 16, Col: 33): Matrix exclude key 'ruby' does not match any key within the matrix .github/workflows/main.yml (Line: 17, Col: 33): Matrix exclude key 'ruby' does not match any key within the matrix
- { os: macos-latest, ruby: '2.4' }
- { os: macos-latest, ruby: '2.5' }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec