From 027b5724a0259140ab0aae93b5d8e69ce528f1a5 Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 5 Dec 2021 00:44:11 +0800 Subject: [PATCH] github action: install redis --- .github/workflows/go.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 090085064..40136908a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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: