From a6b0f56c3d3f7fc141c14aa6175f2d6ee7747dc7 Mon Sep 17 00:00:00 2001 From: Mike Heft Date: Sun, 7 Jul 2024 12:48:54 -0600 Subject: [PATCH] work on options syntax --- .github/actions/run_rspec/action.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/actions/run_rspec/action.yaml b/.github/actions/run_rspec/action.yaml index 929df74..add1f9b 100644 --- a/.github/actions/run_rspec/action.yaml +++ b/.github/actions/run_rspec/action.yaml @@ -39,14 +39,22 @@ runs: with: ports: - 5432:5432 - options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + options: >- + --health-cmd pg_isready # Changed to single-line format + --health-interval 10s + --health-timeout 5s + --health-retries 5 - name: Start Redis service uses: docker://redis:latest with: ports: - 6379:6379 - options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 + options: >- + --health-cmd "redis-cli ping" # Changed to single-line format + --health-interval 10s + --health-timeout 5s + --health-retries 5 - name: "Setup DB, Run tests" shell: bash env: