haskell-actions/Run Fourmolu
Check formatting of Haskell code with Fourmolu
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| pattern | Glob pattern that is used to find source files to format. See [docs](https://github.com/actions/toolkit/tree/main/packages/glob#patterns) on pattern syntax. It is possible to specify several patterns by putting each one on a new line. ```yaml src/**/*.hs !src/Main.hs ``` `src/Main.hs` will be skipped. | no | **/*.hs **/*.hs-boot |
| follow-symbolic-links | Whether to follow symbolic links. | no | true |
| extra-args | Extra arguments to pass to Fourmolu. | no | — |
| version | The version number of Fourmolu to use. Defaults to "latest". Example version numbers -- `0.13.0.0`, `0.10.1.0`, etc. See https://github.com/fourmolu/fourmolu/releases for a list of all releases. Note that formatting changes in later versions of Fourmolu are not necessarily backwards-compatible. You are recommended to specify the version of fourmolu you wish to use. | no | latest |
| working-directory | Directory in which to run Fourmolu. This also affects how the `pattern` argument is interpretted, with Glob patterns being relative to this `working-directory` argument. Defaults to the repository root if not set. | no | — |
Outputs
no outputs