This action send GET request to chosen endpoint and compare result with expected
filed.
Parsing only JSON file with jq
command.
Required Hostname to check. Without schema. Default "my-json-server.typicode.com"
.
Required Path of endpoint. Started with /
. Default "/typicode/demo/db"
.
Required Filter for jq
command. Original syntax. Default ".profile.name"
.
Required Expected value from request. Default "typicode"
.
Not Required If true action will skip certification validation. Default false
.
The result of command.
- name: Check my-json-server
uses: 3sky/[email protected]
with:
hostname: 'my-json-server.typicode.com'
path: '/typicode/demo/db'
filter: '.profile.name'
expected: 'typicode'