Skip to content

Commit

Permalink
try install yq in action setup
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy committed Oct 24, 2024
1 parent 04770ae commit e4ca394
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/ensure-tester-with-images/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ runs:
sudo cat /var/lib/docker/tmp-images/${{ env.IMAGE_KEY }}.brotli
" | brotli --decompress | docker load
- name: Setup yq
uses: dcarbone/[email protected]
with:
version: v4.44.3

- name: Test
uses: ./.github/run-on-tester
if: ${{ env.CACHE_SUCCESS != 'true' }}
Expand Down
6 changes: 0 additions & 6 deletions yarn-project/end-to-end/scripts/e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ FAKE_PROOFS="${FAKE_PROOFS:-}"
COMPOSE_FILE="${COMPOSE_FILE:-./scripts/docker-compose.yml}"
AZTEC_DOCKER_TAG=$(git rev-parse HEAD)

# Install yq if not already installed
if ! command -v yq &>/dev/null; then
wget https://github.com/mikefarah/yq/releases/download/4.44.3/yq_linux_amd64 -O - |
tar xz && mv yq_linux_amd64 /usr/bin/yq
fi

# Function to load test configuration
load_test_config() {
local test_name="$1"
Expand Down

0 comments on commit e4ca394

Please sign in to comment.