Skip to content

Merge pull request #31 from joomcode/feature/ignore-zero-address #74

Merge pull request #31 from joomcode/feature/ignore-zero-address

Merge pull request #31 from joomcode/feature/ignore-zero-address #74

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.19", "1.20"]
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 }}