Adjustments due to the move to haskell-actions and renaming to run-ormolu

This commit is contained in:
Mark Karpov 2023-04-05 11:50:25 +02:00
parent eb399a5c4b
commit 42255983dc
No known key found for this signature in database
GPG Key ID: 8564658B2889FF7C
3 changed files with 7 additions and 7 deletions

View File

@ -36,7 +36,7 @@ $ git config --global core.autocrlf false
In the simple case all you need to do is to add this step to your job: In the simple case all you need to do is to add this step to your job:
```yaml ```yaml
- uses: mrkkrp/ormolu-action@v11 - uses: haskell-actions/run-ormolu@v11
``` ```
However, if you are using a matrix, then it is more efficient to have a However, if you are using a matrix, then it is more efficient to have a
@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: mrkkrp/ormolu-action@v11 - uses: haskell-actions/run-ormolu@v11
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: ormolu needs: ormolu
@ -59,5 +59,5 @@ Here, the `build` job depends on `ormolu` and will not run unless `ormolu`
passes. passes.
[ormolu]: https://github.com/tweag/ormolu [ormolu]: https://github.com/tweag/ormolu
[multiple-patterns-example]: https://github.com/mrkkrp/ormolu-action/blob/master/action.yml#L9-L11 [multiple-patterns-example]: https://github.com/haskell-actions/run-ormolu/blob/master/action.yml#L9-L11
[git-core-autocrlf]: https://www.git-scm.com/docs/git-config#Documentation/git-config.txt-coreautocrlf [git-core-autocrlf]: https://www.git-scm.com/docs/git-config#Documentation/git-config.txt-coreautocrlf

View File

@ -1,4 +1,4 @@
name: 'ormolu-action' name: 'run-ormolu'
description: 'Check formatting of Haskell code with Ormolu' description: 'Check formatting of Haskell code with Ormolu'
inputs: inputs:
pattern: pattern:

View File

@ -9,7 +9,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/mrkkrp/ormolu-action.git" "url": "git+https://github.com/haskell-actions/run-ormolu.git"
}, },
"keywords": [ "keywords": [
"foramtter", "foramtter",
@ -29,7 +29,7 @@
"@vercel/ncc": "^0.24.0" "@vercel/ncc": "^0.24.0"
}, },
"bugs": { "bugs": {
"url": "https://github.com/mrkkrp/ormolu-action/issues" "url": "https://github.com/haskell-actions/run-ormolu/issues"
}, },
"homepage": "https://github.com/mrkkrp/ormolu-action#readme" "homepage": "https://github.com/haskell-actions/run-ormolu#readme"
} }