Skip to content

Commit bdf3122

Browse files
committed
fix: all instances yq
1 parent 8cfa69c commit bdf3122

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/testinfra-nix.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set PostgreSQL versions
1919
id: set-versions
2020
run: |
21-
VERSIONS=$(nix run nixpkgs#yq -- '.postgres_major[]' ansible/vars.yml | nix run nixpkgs#jq -- -R -s -c 'split("\n")[:-1]')
21+
VERSIONS=$(yq '.postgres_major[]' ansible/vars.yml | jq -- -R -s -c 'split("\n")[:-1]')
2222
echo "postgres_versions=$VERSIONS" >> $GITHUB_OUTPUT
2323
2424
test-ami-nix:
@@ -61,11 +61,11 @@ jobs:
6161

6262
- name: Set PostgreSQL version environment variable
6363
run: echo "POSTGRES_MAJOR_VERSION=${{ matrix.postgres_version }}" >> $GITHUB_ENV
64-
65-
- name: Install yq
64+
65+
- name: Install yq & jq
6666
run: |
6767
sudo apt-get update
68-
sudo apt-get install -y yq
68+
sudo apt-get install -y yq jq
6969
7070
- name: Generate common-nix.vars.pkr.hcl
7171
run: |

0 commit comments

Comments
 (0)