Browse Source

Update go.yml

silenceper 6 years ago
parent
commit
b147370c1d
1 changed files with 6 additions and 1 deletions
  1. 6 1
      .github/workflows/go.yml

+ 6 - 1
.github/workflows/go.yml

@@ -7,10 +7,15 @@ on:
     branches: [ master,release-* ]
 
 jobs:
-
   build:
     name: Build
     runs-on: ubuntu-latest
+    services:
+      redis:
+        image: redis
+        ports:
+        - 6379:6379 
+        options: --entrypoint redis-server
     steps:
 
       - name: Set up Go 1.x