Skip to content

Commit 7a14376

Browse files
committed
chore: make sure to run the CI on latest Go versions
Also, add Go 1.18 to the list of Go versions to test against since it's still supported by go-redis.
1 parent d4ae523 commit 7a14376

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/actions/run-tests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'Runs go-redis tests against different Redis versions and configura
33
inputs:
44
go-version:
55
description: 'Go version to use for running tests'
6-
default: '1.23'
6+
default: 'stable'
77
redis-version:
88
description: 'Redis version to test against'
99
required: true

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
- "8.2.x" # Redis CE 8.2
2323
- "8.0.x" # Redis CE 8.0
2424
go-version:
25-
- "1.23.x"
26-
- "1.24.x"
25+
- "stable" # The latest stable Go release
26+
- "oldstable" # The previous Go release before stable
2727

2828
steps:
2929
- name: Set up ${{ matrix.go-version }}
@@ -78,8 +78,9 @@ jobs:
7878
- "8.2.x" # Redis CE 8.2
7979
- "8.0.x" # Redis CE 8.0
8080
go-version:
81-
- "1.23.x"
82-
- "1.24.x"
81+
- "stable" # The latest stable Go release
82+
- "oldstable" # The previous Go release before stable
83+
- "1.18.x" # Go 1.18 is the minimum supported version for go-redis (see go.mod)
8384

8485
steps:
8586
- name: Checkout code

.github/workflows/doctests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
go-version: ["1.24"]
30+
go-version: ["stable", "1.18"]
3131

3232
steps:
3333
- name: Set up ${{ matrix.go-version }}

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

Lines changed: 1 addition & 1 deletion
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.24.x]
18+
go-version: [stable, "1.18"]
1919
re-build: ["7.4.2-54"]
2020

2121
steps:

0 commit comments

Comments
 (0)