Skip to content

Commit 86f004f

Browse files
committed
Add Redis 7.0 to CI matrix
1 parent d6626e6 commit 86f004f

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
os: ["ubuntu-latest"]
37-
redis: ["6.2"]
37+
redis: ["7.0"]
3838
ruby: ["3.1", "3.0", "2.7", "2.6", "2.5"]
3939
driver: ["ruby", "hiredis", "synchrony"]
4040
runs-on: ${{ matrix.os }}
@@ -57,16 +57,7 @@ jobs:
5757
uses: ruby/setup-ruby@v1
5858
with:
5959
ruby-version: ${{ matrix.ruby }}
60-
- name: Cache dependent gems
61-
uses: actions/cache@v3
62-
with:
63-
path: .bundle
64-
key: "local-bundle-ruby-${{ matrix.ruby }}-on-${{ matrix.os }}-0001"
65-
- name: Set up Gems
66-
run: |
67-
gem update --system --no-document
68-
gem install bundler --no-document
69-
bundle install --jobs 4 --retry 3 --path=.bundle
60+
bundler-cache: true
7061
- name: Cache local temporary directory
7162
uses: actions/cache@v3
7263
with:
@@ -85,7 +76,7 @@ jobs:
8576
fail-fast: false
8677
matrix:
8778
os: ["ubuntu-latest"]
88-
redis: ["6.0", "5.0", "4.0", "3.2", "3.0"]
79+
redis: ["6.2", "6.0", "5.0"]
8980
ruby: ["jruby-9.2.9.0", "2.4"]
9081
driver: ["ruby"]
9182
runs-on: ${{ matrix.os }}
@@ -108,16 +99,7 @@ jobs:
10899
uses: ruby/setup-ruby@v1
109100
with:
110101
ruby-version: ${{ matrix.ruby }}
111-
- name: Cache dependent gems
112-
uses: actions/cache@v3
113-
with:
114-
path: .bundle
115-
key: "local-bundle-ruby-${{ matrix.ruby }}-on-${{ matrix.os }}-0001"
116-
- name: Set up Gems
117-
run: |
118-
gem update --system --no-document
119-
gem install bundler --no-document
120-
bundle install --jobs 4 --retry 3 --path=.bundle
102+
bundler-cache: true
121103
- name: Cache local temporary directory
122104
uses: actions/cache@v3
123105
with:

0 commit comments

Comments
 (0)