You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup shfmt
v2.0.1
This action downloads shfmt binary and adds it to the PATH.
Name | Type | Description |
---|---|---|
shfmt-version |
String | The version to use or latest (default) |
To use the latest shfmt
:
steps:
- uses: mfinelli/setup-shfmt@v2
- run: shfmt -d script.bash
Or with a specific version:
steps:
- uses: mfinelli/setup-shfmt@v2
with:
shfmt-version: 3.3.1
- run: shfmt -d script.bash