name: CI
# Controls when the action will run.
on:
  # Triggers the workflow on push or pull request events but only for the master branch
  push:
    branches: [main]
  pull_request:
    branches: [main]
jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        # need to figure out how to use redis on macos github actions
        # os: [ubuntu, macos]
        os: [ubuntu]
        # remove until I sort out CI issues for truffle
        # truffleruby,
        # truffleruby-head,
        ruby: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0, jruby, jruby-head]
        redis-version: [4, 5, 6]
    runs-on: ${{ matrix.os }}-latest
    steps:
      - uses: actions/checkout@v2
      - uses: supercharge/redis-github-action@1.2.0
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically
      - run: bundle exec rake

name: CI
# Controls when the action will run.
on:
  # Triggers the workflow on push or pull request events but only for the master branch
  push:
    branches: [main]
  pull_request:
    branches: [main]
jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        # need to figure out how to use redis on macos github actions
        # os: [ubuntu, macos]
        os: [ubuntu]
        # remove until I sort out CI issues for truffle
        # truffleruby,
        # truffleruby-head,
        ruby: [2.3, 2.4, 2.5, 2.6, 2.7, "3.0", jruby, jruby-head]
        redis-version: [4, 5, 6]
    runs-on: ${{ matrix.os }}-latest
    steps:
      - uses: actions/checkout@v2
      - uses: supercharge/redis-github-action@1.2.0
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # runs 'bundle install' and caches installed gems automatically
      - run: bundle exec rake

Fix CI setting for Ruby 3.0
Fix CI setting for Ruby 3.0
