Explorar o código

Update go.yml

silenceper %!s(int64=6) %!d(string=hai) anos
pai
achega
b147370c1d
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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