-
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.
Integrate pretty_yaml for the YAML formatter (#130)
* `dprint config add g-plane/pretty_yaml` * Prefer single quote for YAML strings to keep current style I should remember they recommend to use double quoting https://github.com/g-plane/pretty_yaml/blob/444cc16883442534fcbf61437582fe4d63d22bb6/docs/config.md#L41 * `dprint config update --yes` * Uninstall yamlfmt since using pretty_yaml * `dprint fmt`
- Loading branch information
Showing
5 changed files
with
5 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,18 +26,3 @@ jobs: | |
. | ||
.github | ||
.vscode | ||
yamlfmt: | ||
timeout-minutes: 15 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install mise | ||
run: | | ||
curl https://mise.jdx.dev/install.sh | sh | ||
echo "$HOME/.local/share/mise/bin" >> $GITHUB_PATH | ||
echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH | ||
- name: Install yamlfmt | ||
# TODO: Apply selfup after https://github.com/google/yamlfmt/pull/180 | ||
run: mise use -g [email protected] | ||
- run: yamlfmt -lint . |
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 was deleted.
Oops, something went wrong.