Readme and action.yml cleanup
Some checks failed
Main workflow / Run (ubuntu-latest) (push) Has been cancelled
Main workflow / Run (windows-latest) (push) Has been cancelled

This commit is contained in:
Timothy Clem
2019-09-30 11:43:06 -07:00
parent 3979a43fed
commit ef0a26c8c8
2 changed files with 28 additions and 21 deletions

View File

@@ -7,22 +7,8 @@
This action sets up a Haskell environment for use in actions by:
- optionally installing a version of ghc and cabal and adding to PATH. Note that this action only uses versions of ghc and cabal already installed in the cache. The action will fail if no matching versions are found.
- Supported versions of GHC:
- `8.0.2`
- `8.2.2`
- `8.4.4`
- `8.6.2`
- `8.6.3`
- `8.6.4`
- `8.6.5`
- `8.8.1`
- Supported versions of Cabal:
- `2.0`
- `2.2`
- `2.4`
- `3.0`
# Usage
## Usage
See [action.yml](action.yml)
@@ -59,10 +45,28 @@ jobs:
- run: runghc Hello.hs
```
# License
Supported versions of GHC:
The scripts and documentation in this project are released under the [MIT License](LICENSE)
- `8.0.2`
- `8.2.2`
- `8.4.4`
- `8.6.2`
- `8.6.3`
- `8.6.4`
- `8.6.5`
- `8.8.1`
# Contributions
Supported versions of Cabal:
Contributions are welcome! See [Contributor's Guide](docs/contributors.md)
- `2.0`
- `2.2`
- `2.4`
- `3.0`
## License
The scripts and documentation in this project are released under the [MIT License](LICENSE).
## Contributions
Contributions are welcome! See the [Contributor's Guide](docs/contributors.md).

View File

@@ -3,8 +3,11 @@ description: 'Setup a Haskell environment and add it to the PATH'
author: 'GitHub'
inputs:
ghc-version:
description: 'Version range or exact version of ghc to use.'
default: '>= 8.6.5'
description: 'Exact version of ghc to use.'
default: '8.6.5'
cabal-version:
description: 'Exact version of cabal to use.'
default: '3.0'
runs:
using: 'node12'
main: 'lib/setup-haskell.js'