setup-kdlfmt
Version updated for https://github.com/hougesen/kdlfmt to version v0.1.6.
- This action is used across all versions by 3 repositories.
Action Type
This is a Node action using Node version 20.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
kdlfmt is a command-line tool for formatting and validating KDL documents, supporting both KDL version 1 and 2. Built on top of the kdl-rs Rust parser, it automates tasks such as ensuring consistent formatting, validating if files are properly formatted, and generating shell completions. It also provides configuration options and supports multiple installation methods, making it a flexible and efficient solution for managing KDL document formatting.
Release notes
Release Notes
28 February 2026
- build(cargo-dist): upgrade to v0.31.0
#335 - build(deps-dev): bump esbuild from 0.27.2 to 0.27.3 in /github-action
#329 - build(deps-dev): bump eslint from 9.39.2 to 10.0.2 in /github-action
#334 - build(deps-dev): bump @biomejs/biome in /github-action
#330 - build(deps-dev): bump globals from 17.2.0 to 17.3.0 in /github-action
#333 - build(deps-dev): bump @eslint/js from 9.39.2 to 10.0.1 in /github-action
#331 - build(deps): bump tempfile from 3.24.0 to 3.25.0
#323 - build(deps): bump env_logger from 0.11.8 to 0.11.9
#326 - build(deps): bump predicates from 3.1.3 to 3.1.4
#324 - build(deps-dev): bump minimatch from 3.1.2 to 3.1.5 in /github-action
#328 - build(deps): bump clap from 4.5.56 to 4.5.60
#327 - build(deps): bump clap_complete from 4.5.65 to 4.5.66
#322 - build(deps): bump clap from 4.5.54 to 4.5.56
#319 - build(deps-dev): bump @biomejs/biome in /github-action
#314 - build(deps-dev): bump globals from 16.5.0 to 17.2.0 in /github-action
#315 - build(deps): bump @actions/tool-cache in /github-action
#316 - build(deps): bump @actions/core from 2.0.1 to 3.0.0 in /github-action
#317 - build(deps): bump assert_cmd from 2.1.1 to 2.1.2
#312 - build(deps): bump clap_complete from 4.5.64 to 4.5.65
#313 - build(deps): bump clap_complete from 4.5.62 to 4.5.64
#311 - build(deps): bump clap from 4.5.53 to 4.5.54
#310 - build(deps): bump tempfile from 3.23.0 to 3.24.0
#309 - build(deps): bump clap_complete from 4.5.61 to 4.5.62
#308
Install kdlfmt 0.1.6
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hougesen/kdlfmt/releases/download/v0.1.6/kdlfmt-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/hougesen/kdlfmt/releases/download/v0.1.6/kdlfmt-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install hougesen/tap/kdlfmt
Install prebuilt binaries into your npm project
npm install kdlfmt@0.1.6
Download kdlfmt 0.1.6
| File | Platform | Checksum |
|---|---|---|
| kdlfmt-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| kdlfmt-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| kdlfmt-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| kdlfmt-x86_64-pc-windows-msvc.msi | x64 Windows | checksum |
| kdlfmt-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| kdlfmt-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| kdlfmt-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |