mfinelli / setup-shfmt

github action to install shfmt

Home Page:https://github.com/marketplace/actions/setup-shfmt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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@v3
  - run: shfmt -d script.bash

Or with a specific version:

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

About

github action to install shfmt

https://github.com/marketplace/actions/setup-shfmt

License:Apache License 2.0


Languages

Language:TypeScript 95.9%Language:Shell 2.5%Language:JavaScript 1.6%