From 26fe396ea6b833fccf5085e8e985cac16453353e 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test_code.yaml b/.github/workflows/test_code.yaml index 7749c0a..541c3a1 100644 --- a/.github/workflows/test_code.yaml +++ b/.github/workflows/test_code.yaml @@ -21,5 +21,10 @@ jobs: ruby-version: 3.4 - name: Install ruby dependencies run: gem install mustache + - name: Install yq + run: | + VERSION=v4.44.1 + BINARY=yq_linux_amd64 + wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - | tar xz && sudo mv ${BINARY} /usr/bin/yq - name: Run tests run: bats tests