Skip to content

Add Ruby versions 3.4 and 4.0 to CI workflow #545

Add Ruby versions 3.4 and 4.0 to CI workflow

Add Ruby versions 3.4 and 4.0 to CI workflow #545

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
redis_server: ["4", "5", "6", "7"]
ruby: ["3.2", "3.3", "3.4", "4.0"]
name: Redis server ${{ matrix.redis_server }} - Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v5
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Set up Redis ${{ matrix.redis_server }}
uses: supercharge/redis-github-action@1.8.0
with:
redis-version: ${{ matrix.redis_server }}
- name: Run tests
run: bin/test