From a7415b7234cdc15f712cc2a11c43934833a9e2da Mon Sep 17 00:00:00 2001 From: winjeg Date: Wed, 27 Mar 2024 11:30:23 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0065213..444b574 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,7 +10,17 @@ on: branches: [ "master" ] jobs: - + container-job: + runs-on: ubuntu-latest + container: node:10.18-jessie + services: + redis: + image: redis + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 build: runs-on: ubuntu-latest steps: