Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Remove Valkey since it doesnt suport 6.x #63

Remove Valkey since it doesnt suport 6.x

Remove Valkey since it doesnt suport 6.x #63

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths-ignore:
- "**/*.md"
pull_request:
paths-ignore:
- "**/*.md"
env:
GO111MODULE: on
jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x, 1.22.x]
db-version: [6.x, 7.x]
distribution: [redis]
runs-on: ubuntu-latest
steps:
- name: Start Database
uses: shogo82148/actions-setup-redis@v1
with:
redis-version: ${{ matrix.db-version }}
distribution: ${{ matrix.distribution }}
auto-start: "true"
- name: Wait for Database to Start
run: sleep 10
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version-file: ./v2/go.mod
cache-dependency-path: ./v2/go.sum
- name: Test
working-directory: ./v2
run: go run gotest.tools/gotestsum@latest -f testname -- ./... -race -count=1 -shuffle=on