Skip to content

Commit 7290bd1

Browse files
authored
Note tested / supported versions of Redis in the Readme (#79)
* Note tested / supported versions of Redis server and client in the Readme * Update Redis version noted in Readme to 4.0+ * Add a matrix of Redis servers for CI * Clarify Redis server and client versions in Readme
1 parent 2beb74f commit 7290bd1

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
ruby: [2.7, "3.0"]
8+
redis_server: ["4", "5", "6.2"]
9+
ruby: ["2.7", "3.0"]
10+
11+
name: Redis server ${{ matrix.redis_server }} - Ruby ${{ matrix.ruby }}
912

1013
steps:
1114
- uses: actions/checkout@v2
@@ -16,10 +19,10 @@ jobs:
1619
ruby-version: ${{ matrix.ruby }}
1720
bundler-cache: true
1821

19-
- name: Set up Redis 4
22+
- name: Set up Redis ${{ matrix.redis_server }}
2023
uses: supercharge/[email protected]
2124
with:
22-
redis-version: 4
25+
redis-version: ${{ matrix.redis_server }}
2326

2427
- name: Run tests
2528
run: bin/test

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ Additional configurations can be added under `config/redis/*.yml` and referenced
210210

211211
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.
212212

213+
### Redis support
214+
215+
Kredis works with Redis server 4.0+, with the [Redis Ruby](https://github.com/redis/redis-rb) client version 4.2+.
216+
213217
### Setting SSL options on Redis Connections
214218

215219
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:

0 commit comments

Comments
 (0)