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
- name: Format Check Starlark files
uses: rodydavis/shared-actions/run-buildifier@main
with:
version: 'v8.0.1'