-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/ci: bump the github-workflow jsonschema version
This catches up with the latest changes in the cue repository, in particular after https://cuelang.org/cl/1199497 which resolves issues from using the latest cue version to import it. Signed-off-by: Daniel Martí <[email protected]> Change-Id: Ia34bbd7df15eebc747016bb2414b8c9859ec151f Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1199501 Reviewed-by: Roger Peppe <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
3 changed files
with
52 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 13 additions & 2 deletions
15
cue.mod/usr/github.com/SchemaStore/schemastore/src/schemas/json/workflow.cue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
package json | ||
|
||
#job: ((#Workflow & {}).jobs & {x: _}).x | ||
#step: ((#job & {steps: _}).steps & [_])[0] | ||
#job: ((#Workflow & {jobs: _}).jobs & {x: _}).x | ||
#step: ((#job & {steps: _}).steps & [_])[0] | ||
|
||
// CUE does not properly encode a JSON Schema oneOf; see | ||
// https://cuelang.org/issue/3165. For now, apply a temporary workaround which | ||
// forces the other option to bottom. | ||
#Workflow: jobs?: [string]: steps?: [...( | ||
{ | ||
uses?: _|_ | ||
} | { | ||
run?: _|_ | ||
}), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters