Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, "3.0"]
redis_server: ["4", "5", "6.2"]
ruby: ["2.7", "3.0"]

name: Redis server ${{ matrix.redis_server }} - Ruby ${{ matrix.ruby }}

steps:
- uses: actions/checkout@v2
Expand All @@ -16,10 +19,10 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Set up Redis 4
- name: Set up Redis ${{ matrix.redis_server }}
uses: supercharge/redis-github-action@1.2.0
with:
redis-version: 4
redis-version: ${{ matrix.redis_server }}

- name: Run tests
run: bin/test
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ Additional configurations can be added under `config/redis/*.yml` and referenced

Kredis passes the configuration to `Redis.new` to establish the connection. See the [Redis documentation](https://github.com/redis/redis-rb) for other configuration options.

### Redis support

Kredis works with Redis server 4.0+, with the [Redis Ruby](https://github.com/redis/redis-rb) client version 4.2+.

### Setting SSL options on Redis Connections

If you need to connect to Redis with SSL, the recommended approach is to set your Redis instance manually by adding an entry to the `Kredis::Connections.connections` hash. Below an example showing how to connect to Redis using Client Authentication:
Expand Down