Skip to content

Commit bfde246

Browse files
committed
naive first try to have the correct matrix of versions
1 parent efe0f65 commit bfde246

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
go-version: [1.19.x, 1.20.x, 1.21.x]
19+
go-version: [1.21.x, 1.22.x, 1.23.x]
2020

2121
services:
2222
redis:
@@ -50,15 +50,15 @@ jobs:
5050
strategy:
5151
fail-fast: false
5252
matrix:
53-
redis_version:
54-
- "8.0-M01"
55-
- "7.4.1"
56-
- "7.2.6"
57-
- "6.2.16"
53+
client-libs-image-version:
54+
- "8.0-M03" # 8.0 milestone 3
55+
- "rs-7.4.0-v2" # redis stack 7.4
56+
- "rs-7.2.0-v14" # redis stack 7.2
57+
- "rs-6.2.6-v18" # redis stack 6.2
5858
go-version:
59-
- "1.19.x"
60-
- "1.20.x"
6159
- "1.21.x"
60+
- "1.22.x"
61+
- "1.23.x"
6262

6363
steps:
6464
- name: Set up ${{ matrix.go-version }}
@@ -70,7 +70,9 @@ jobs:
7070
uses: actions/checkout@v4
7171

7272
# Set up Docker Compose environment
73-
- name: Set up Docker Compose environment
73+
- name: Set up Docker Compose environment with standalone ${{ matrix.client-libs-image-version }}
74+
env:
75+
REDIS_CLT_IMAGE_VERSION: ${{ matrix.client-libs-image-version }}
7476
run: |
7577
docker compose --profile all up -d
7678

.github/workflows/doctests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
go-version: [ "1.18", "1.19", "1.20", "1.21" ]
28+
go-version: [ "1.20", "1.21", "1.22", "1.23" ]
2929

3030
steps:
3131
- name: Set up ${{ matrix.go-version }}

.github/workflows/test-redis-enterprise.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
go-version: [1.21.x]
18+
go-version: [1.23.x]
1919
re-build: ["7.4.2-54"]
2020

2121
steps:
@@ -46,8 +46,8 @@ jobs:
4646

4747
- name: Test
4848
env:
49-
RE_CLUSTER: "1"
50-
USE_CONTAINERIZED_REDIS: "1"
49+
RE_CLUSTER: true
50+
USE_CONTAINERIZED_REDIS: true
5151
run: |
5252
go test \
5353
--ginkgo.skip-file="ring_test.go" \

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
services:
44

55
redis-stanalone:
6-
image: redislabs/client-libs-test:8.0-M02
6+
image: redislabs/client-libs-test:${REDIS_CLT_IMAGE_VERSION:-8.0-M02}
77
container_name: redis-standalone
88
environment:
99
- REDIS_CLUSTER=no

0 commit comments

Comments
 (0)