forked from StyraInc/regal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: check yaml and json formatting with dprint (StyraInc#1047)
Signed-off-by: Charlie Egan <charlie@styra.com>
- Loading branch information
1 parent
456c3b2
commit f17d9bf
Showing
12 changed files
with
94 additions
and
82 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
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
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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ name: Update Docs | |
on: | ||
push: | ||
tags: | ||
- v[0-9].** | ||
- v[0-9].** | ||
workflow_dispatch: | ||
|
||
permissions: read-all | ||
|
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
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
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,10 +1,10 @@ | ||
{ | ||
"opa.env": { | ||
"OPA_CHECK_CAPABILITIES": "${workspacePath}/build/capabilities.json", | ||
"OPA_EVAL_CAPABILITIES": "${workspacePath}/build/capabilities.json" | ||
}, | ||
"opa.roots": [ | ||
"${workspaceFolder}/bundle" | ||
], | ||
"opa.strictMode": true | ||
"opa.env": { | ||
"OPA_CHECK_CAPABILITIES": "${workspacePath}/build/capabilities.json", | ||
"OPA_EVAL_CAPABILITIES": "${workspacePath}/build/capabilities.json" | ||
}, | ||
"opa.roots": [ | ||
"${workspaceFolder}/bundle" | ||
], | ||
"opa.strictMode": true | ||
} |
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,27 +1,27 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "regal: prepare pr", | ||
"type": "shell", | ||
"command": "./build/do.rq pr", | ||
"detail": "Prepare PR", | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"label": "regal: regal test", | ||
"type": "shell", | ||
"command": "go run main.go test bundle", | ||
"group": "test", | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
} | ||
} | ||
] | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "regal: prepare pr", | ||
"type": "shell", | ||
"command": "./build/do.rq pr", | ||
"detail": "Prepare PR", | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
}, | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"label": "regal: regal test", | ||
"type": "shell", | ||
"command": "go run main.go test bundle", | ||
"group": "test", | ||
"options": { | ||
"cwd": "${workspaceFolder}" | ||
} | ||
} | ||
] | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"yaml": { | ||
"indentBlockSequenceInMap": true | ||
}, | ||
"json": {}, | ||
"excludes": [], | ||
"plugins": [ | ||
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm", | ||
"https://plugins.dprint.dev/json-0.19.3.wasm" | ||
] | ||
} |
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
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