github action: install redis

This commit is contained in:
c9s 2021-12-05 00:44:11 +08:00
parent 64e13c586a
commit 027b5724a0

View File

@ -10,9 +10,20 @@ jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# node-version: [10.x, 12.x, 14.x]
redis-version: [6]
steps:
- uses: actions/checkout@v2
- name: Start Redis
uses: supercharge/redis-github-action@1.2.0
with:
redis-version: ${{ matrix.redis-version }}
- name: Set up Go
uses: actions/setup-go@v2
with: