Skip to content

Commit

Permalink
test: download yq binary instead of go install
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornplusplus committed Aug 1, 2024
1 parent c7a8546 commit e8639dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/info/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ summary: Chisel can show detailed info about slices

execute: |
# Install dependencies.
go install github.com/mikefarah/yq/v4@latest
apt update && apt install -y wget
wget -q https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\
chmod +x /usr/bin/yq
# Single slice.
chisel info --release ${OS}-${RELEASE} base-passwd_data > file.yaml
Expand Down

0 comments on commit e8639dd

Please sign in to comment.