Skip to content

Commit

Permalink
[#34] Formalize redis gem install step
Browse files Browse the repository at this point in the history
  • Loading branch information
delano committed Jun 17, 2024
1 parent ec02b51 commit 83fc0d0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
name: "Ruby ${{ matrix.ruby }}${{ matrix.redis != null && matrix.redis != '' ? ' redis:' + matrix.redis : '' }}"
strategy:
fail-fast: true
matrix:
Expand All @@ -29,12 +29,12 @@ jobs:
- ruby: '3.2'
bundler: latest
rubygems: latest
redis: 4.7
redis: 4.8

- ruby: '3.2'
bundler: latest
rubygems: latest
redis: 4.8
redis: 4.7

- ruby: '3.1'
bundler: latest
Expand Down Expand Up @@ -76,7 +76,8 @@ jobs:
# further investigation.
bundler-cache: true # runs bundle install

- name: Re-run bundle install
- name: Install redis gem @ ${{ matrix.redis }}
if: matrix.redis != ''
run: |
gem install redis --version ${{ matrix.redis }}
Expand Down

0 comments on commit 83fc0d0

Please sign in to comment.