From ff17982ba21d9ddbafa81557486915c4d2515637 Mon Sep 17 00:00:00 2001 From: James Robinson Date: Tue, 21 May 2024 11:32:33 +0100 Subject: [PATCH] :sparkles: Added yq installation to GitHub Actions workflow --- .github/workflows/test_code.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test_code.yaml b/.github/workflows/test_code.yaml index 7749c0a..b4bd09b 100644 --- a/.github/workflows/test_code.yaml +++ b/.github/workflows/test_code.yaml @@ -21,5 +21,9 @@ jobs: ruby-version: 3.4 - name: Install ruby dependencies run: gem install mustache + - name: Install yq + run: | + VERSION=v4.44.1 and BINARY=yq_linux_amd64 + wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - | tar xz && mv ${BINARY} /usr/bin/yq - name: Run tests run: bats tests