Files
shared-actions/run-buildifier/README.md
T

19 lines
506 B
Markdown

# Run Buildifier
Downloads and runs the Bazel buildifier tool in lint mode on Starlark files (like `BUILD.bazel`, `WORKSPACE`, `.bzl` files) to ensure they comply with standard formatting.
## Inputs
| Name | Description | Required | Default |
| :--- | :--- | :--- | :--- |
| `version` | The buildifier release version tag to download. | No | `v8.0.1` |
## Example Usage
```yaml
- name: Format Check Starlark files
uses: rodydavis/shared-actions/run-buildifier@main
with:
version: 'v8.0.1'
```