We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ccf61f commit 332aa05Copy full SHA for 332aa05
1 file changed
.github/workflows/ci.yml
@@ -167,6 +167,18 @@ jobs:
167
! pkgx -Qqq flubber-flubber
168
pkgx -Q
169
170
+ - name: query --json
171
+ run: |
172
+ pkgx -Q --json=v2 git | pkgx jq -e '.[0].project == "git-scm.org"'
173
+ pkgx -Q --json=v2 git | pkgx jq -e '.[0].programs | length > 0'
174
+ pkgx -Q --json=v2 | pkgx jq -e 'length > 0'
175
+
176
+ - name: query pkgspecs
177
178
+ pkgx -Q git-scm.org | grep -q git-scm.org
179
+ pkgx -Q node git | grep -q nodejs.org
180
+ ! pkgx -Q git-scm.org@99999
181
182
- run: if [ $(find ~/.pkgx -name .tmp\* -type d | wc -l) -gt 0 ]; then
183
exit 1;
184
fi
0 commit comments