Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
feat(*): upgrade redis driver version to v8 (#109)
Browse files Browse the repository at this point in the history
Bump embed redis driver to v8.
  • Loading branch information
hackerzgz authored Aug 2, 2021
1 parent 6845585 commit df9aabc
Show file tree
Hide file tree
Showing 26 changed files with 385 additions and 289 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Build & Test
strategy:
matrix:
go: [1.12,1.13,1.14,1.15,1.16]
go: [1.13,1.14,1.15,1.16]

runs-on: ubuntu-latest

Expand All @@ -29,12 +29,22 @@ jobs:
MYSQL_PASSWORD: ezbuyisthebest
MYSQL_ROOT_PASSWORD: ezbuyisthebest
MYSQL_DATABASE: testing
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=3
redis:
image: redis
image: bitnami/redis
ports:
- 6379:6379
options: --entrypoint redis-server
env:
REDIS_PASSWORD: 123456
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Check out code into the Go module directory
Expand Down Expand Up @@ -65,3 +75,4 @@ jobs:
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }}
REDIS_HOST: redis
REDIS_PORT: ${{ job.services.redis.ports[6379] }}
REDIS_AUTH: 123456
Loading

0 comments on commit df9aabc

Please sign in to comment.