Skip to content

Commit

Permalink
run against different redis versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mjc-gh committed Jan 5, 2024
1 parent cdb7cf5 commit a793cbe
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ jobs:
build:
runs-on: ubuntu-latest

services:
redis:
image: redis
ports:
- '6379:6379'

strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21.x' ]
redis-version: [4, 5, 6, 7]

steps:
- uses: actions/checkout@v4
- name: Start Redis
uses: supercharge/redis-github-action@1.7.0
with:
redis-version: ${{ matrix.redis-version }}
- name: Setup Go
uses: actions/setup-go@v4
with:
Expand Down

0 comments on commit a793cbe

Please sign in to comment.