Could it be possible to add hcfmt CLI tool binary as a release asset so it could be downloaded without compiling it beforehand in CI?
Cf jenkinsci/docker#2143, I'd like to add a lint/validation of the docker bake files we're using to build official Jenkins controller and agents images in our CI, and https://github.com/hashicorp/hcl/tree/main/cmd/hclfmt is the closest to an official tool I found to achieve this goal.
Note: I'm willing to contribe the corresponding change if needed/accepted 🙂