exec cue vet -c schema.cue data.json

-- data.json --
{
    "step": {
        "run": "echo foo"
    }
}
-- schema.cue --
package githubactions

#Workflow

#Workflow: {
    step!: matchN(1, [{
        "uses"!: _
        ...
    }, {
        "run"!: _
        ...
    }]) & close({
        "uses"?: string
        "run"?:  string
    })
}
