From e8926a4dca840fda94f1a72235f77f8ce06b4c6e Mon Sep 17 00:00:00 2001 From: eili1s <183522504+eili1s@users.noreply.github.com> Date: Sun, 1 Nov 2026 22:30:46 +0100 Subject: [PATCH] fix(cd): verify jq availability before deployment --- .github/workflows/deploy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 413906c..87e8183 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -61,6 +61,18 @@ jobs: tofu_version: "1.12.6" tofu_wrapper: false + - name: Verify jq installation + shell: bash + run: | + set -euo pipefail + + if ! command -v jq >/dev/null 2>&1; then + echo "::error::jq is not installed on the runner." + exit 1 + fi + + jq --version + # Verify OpenTofu, credentials, and TEST stack configurations. - name: Preflight checks shell: bash @@ -364,6 +376,18 @@ jobs: tofu_version: "1.12.6" tofu_wrapper: false + - name: Verify jq installation + shell: bash + run: | + set -euo pipefail + + if ! command -v jq >/dev/null 2>&1; then + echo "::error::jq is not installed on the runner." + exit 1 + fi + + jq --version + - name: Preflight checks shell: bash run: |