kjanat/Install dprint
A GitHub Action to install the dprint code formatter with caching.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | The dprint version to install (e.g., "0.55.2"; defaults to "latest"). | no | latest |
| cache | Enable caching of dprint binary and WASM plugins (set to "false" to disable). | no | true |
| config-path | Path or glob to dprint config file(s) for the plugin cache key (auto-detected if not set; every glob match is hashed). | no | "" |
| warmup | Pre-download WASM plugins after a cache miss so the post step saves a complete store (set to "false" to disable). | no | true |
Outputs
| name | description |
|---|---|
| version | Installed dprint version |
| location | Path to the installed dprint binary |
| cache-hit | Whether the dprint binary was restored from tool-cache or actions/cache |
| plugin-cache-hit | Whether the WASM plugin cache was restored (exact key match) |
| plugin-cache-key | The cache key used for WASM plugin cache |