Skip to content

Commit

Permalink
Add Redis 7.0 to CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Aug 9, 2022
1 parent d6626e6 commit 86f004f
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
redis: ["6.2"]
redis: ["7.0"]
ruby: ["3.1", "3.0", "2.7", "2.6", "2.5"]
driver: ["ruby", "hiredis", "synchrony"]
runs-on: ${{ matrix.os }}
Expand All @@ -57,16 +57,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Cache dependent gems
uses: actions/cache@v3
with:
path: .bundle
key: "local-bundle-ruby-${{ matrix.ruby }}-on-${{ matrix.os }}-0001"
- name: Set up Gems
run: |
gem update --system --no-document
gem install bundler --no-document
bundle install --jobs 4 --retry 3 --path=.bundle
bundler-cache: true
- name: Cache local temporary directory
uses: actions/cache@v3
with:
Expand All @@ -85,7 +76,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
redis: ["6.0", "5.0", "4.0", "3.2", "3.0"]
redis: ["6.2", "6.0", "5.0"]
ruby: ["jruby-9.2.9.0", "2.4"]
driver: ["ruby"]
runs-on: ${{ matrix.os }}
Expand All @@ -108,16 +99,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Cache dependent gems
uses: actions/cache@v3
with:
path: .bundle
key: "local-bundle-ruby-${{ matrix.ruby }}-on-${{ matrix.os }}-0001"
- name: Set up Gems
run: |
gem update --system --no-document
gem install bundler --no-document
bundle install --jobs 4 --retry 3 --path=.bundle
bundler-cache: true
- name: Cache local temporary directory
uses: actions/cache@v3
with:
Expand Down

0 comments on commit 86f004f

Please sign in to comment.