Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

setup-shfmt

This action downloads shfmt binary and adds it to the PATH.

Inputs

Name Type Description
shfmt-version String The version to use or latest (default)

Outputs

Example usage

To use the latest shfmt:

steps:
  - uses: mfinelli/setup-shfmt@v4
  - run: shfmt -d script.bash

Or with a specific version:

steps:
  - uses: mfinelli/setup-shfmt@v4
    with:
      shfmt-version: 3.3.1
  - run: shfmt -d script.bash

About

github action to install shfmt

Topics

Resources

Stars

11 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages