1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

chore: format yaml internally (#24520)

Uses https://github.com/g-plane/pretty_yaml
This commit is contained in:
David Sherret 2024-07-10 23:59:57 -04:00 committed by GitHub
parent e8057bc102
commit a5f8bfdbfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 9 deletions

View file

@ -8,6 +8,9 @@
"json": { "json": {
"deno": true "deno": true
}, },
"yaml": {
"quotes": "preferSingle"
},
"exec": { "exec": {
"commands": [{ "commands": [{
"command": "rustfmt --config imports_granularity=item", "command": "rustfmt --config imports_granularity=item",
@ -64,6 +67,7 @@
"https://plugins.dprint.dev/json-0.19.3.wasm", "https://plugins.dprint.dev/json-0.19.3.wasm",
"https://plugins.dprint.dev/markdown-0.17.1.wasm", "https://plugins.dprint.dev/markdown-0.17.1.wasm",
"https://plugins.dprint.dev/toml-0.6.2.wasm", "https://plugins.dprint.dev/toml-0.6.2.wasm",
"https://plugins.dprint.dev/exec-0.4.4.json@c207bf9b9a4ee1f0ecb75c594f774924baf62e8e53a2ce9d873816a408cecbf7" "https://plugins.dprint.dev/exec-0.4.4.json@c207bf9b9a4ee1f0ecb75c594f774924baf62e8e53a2ce9d873816a408cecbf7",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.3.0.wasm"
] ]
} }

View file

@ -8,9 +8,9 @@ on:
default: 'patch' default: 'patch'
type: choice type: choice
options: options:
- patch - patch
- minor - minor
- major - major
required: true required: true
jobs: jobs:

View file

@ -8,9 +8,9 @@ on:
default: 'patch' default: 'patch'
type: choice type: choice
options: options:
- patch - patch
- minor - minor
- major - major
required: true required: true
jobs: jobs:

View file

@ -37,7 +37,7 @@ jobs:
- name: Install Python - name: Install Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.11" python-version: '3.11'
- name: Log versions - name: Log versions
run: | run: |

View file

@ -9,7 +9,7 @@ const cmd = new Deno.Command("deno", {
"run", "run",
"-A", "-A",
"--no-config", "--no-config",
"npm:dprint@0.45.1", "npm:dprint@0.47.2",
subcommand, subcommand,
"--config=" + configFile, "--config=" + configFile,
], ],