Skip to content

Commit

Permalink
Merge pull request #2 from fourmolu/small-fixes
Browse files Browse the repository at this point in the history
small fixes for the release
  • Loading branch information
cdepillabout authored Jun 1, 2022
2 parents 9852ec4 + fd805e2 commit 9502cad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Fourmolu action

![CI](https://github.com/bitnomial/fourmolu-action/workflows/CI/badge.svg?branch=master)
![CI](https://github.com/fourmolu/fourmolu-action/workflows/CI/badge.svg?branch=master)

This Fourmolu Action helps to ensure that your Haskell project is
formatted with [Fourmolu][fourmolu]. The action tries to find all Haskell source
Expand All @@ -13,20 +13,20 @@ and its formatted version.
In the simple case all you need to do is to add this step to your job:

```yaml
- uses: bitnomial/fourmolu-action@v1
- uses: fourmolu/fourmolu-action@v1
```
The `@v1` after `fourmolu-action` should be replaced with the version of the
Fourmolu Action you want to use. See
[Releases](https://github.com/bitnomial/fourmolu-action/releases) for all
[Releases](https://github.com/fourmolu/fourmolu-action/releases) for all
versions available. Each version of the Fourmolu Action generally has a
corresponding version of `fourmolu`. Make sure you pick a Fourmolu Action
version that uses the version of `fourmolu` you use locally.

Here's a more complicated example that shows more options being used:

```yaml
- uses: bitnomial/fourmolu-action@v1
- uses: fourmolu/fourmolu-action@v1
with:
# Only check the format of .hs in the src/ directory.
pattern: |
Expand All @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bitnomial/fourmolu-action@v6
- uses: fourmolu/fourmolu-action@v1
build:
runs-on: ubuntu-latest
needs: fourmolu
Expand Down Expand Up @@ -88,7 +88,7 @@ versions, but newer (or slightly older) versions may work as well:
Next, clone this repo:

```console
$ git clone git@github.com:bitnomial/fourmolu-action.git
$ git clone git@github.com:fourmolu/fourmolu-action.git
```

Then, within this repo, install all dependencies defined in `package.json`:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'fourmolu-action'
name: 'Run Fourmolu'
description: 'Check formatting of Haskell code with Fourmolu'
inputs:
pattern:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/bitnomial/fourmolu-action.git"
"url": "git+https://github.com/fourmolu/fourmolu-action.git"
},
"keywords": [
"foramtter",
Expand All @@ -29,7 +29,7 @@
"@vercel/ncc": "^0.24.1"
},
"bugs": {
"url": "https://github.com/bitnomial/fourmolu-action/issues"
"url": "https://github.com/fourmolu/fourmolu-action/issues"
},
"homepage": "https://github.com/bitnomial/fourmolu-action#readme"
"homepage": "https://github.com/fourmolu/fourmolu-action#readme"
}

0 comments on commit 9502cad

Please sign in to comment.