run-fourmolu
Action now takes a version
argument to allow you to specify the version of Fourmolu you want to use. If you don't specify the version
argument, then the latest version of Fourmolu will be used.
Note that this is a breaking change for all current users of run-fourmolu
.
With this change, you're now able to use a single version of run-fourmolu
with different versions of Fourmolu.
Here's an example of how you'd use run-fourmolu
with the 0.12.0.0 version of Fourmolu:
- uses: haskell-actions/run-fourmolu@v9
with:
version: "0.12.0.0"
It is recommended to always specify the version of Fourmolu you want to use, since Fourmolu is often not backwards compatible. New releases of Fourmolu could possibly break your CI. However, if you want to always use the newest release of fourmolu, you can do it like the following:
- uses: haskell-actions/run-fourmolu@v9
with:
version: "latest"
Alternatively, you can leave out the version
argument and it will default to latest
.