Skip to content

Bump github.com/redis/go-redis/v9 from 9.6.1 to 9.6.2 (#22) #46

Bump github.com/redis/go-redis/v9 from 9.6.1 to 9.6.2 (#22)

Bump github.com/redis/go-redis/v9 from 9.6.1 to 9.6.2 (#22) #46

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
go: [ '1.18','1.19','1.20' ]
os: [ 'ubuntu-latest' ]
runs-on: ${{ matrix.os }}
services:
# Label used to access the service container
redis:
# Docker Hub image
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 6379 on service container to the host
- 6379:6379
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic -timeout=10m
- name: Codecov
uses: codecov/codecov-action@v4