Skip to content

update conn test

update conn test #54

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.19]
stage: [testredis, testconn, testcluster]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: Cache go modules
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Cache redis build
uses: actions/cache@v2
with:
path: |
/tmp/redis-server
key: ${{ runner.os }}-redis-${{ hashFiles('Makefile') }}
- name: Install redis
run: make /tmp/redis-server/redis-server
- name: Build
run: make ${{ matrix.stage }}