webdevred/Get Supported GHC Version
Finds the latest GHC version that supports the base upper bound in your package.yaml file.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| package-yaml-path | Path to package.yaml (default: package.yaml in repo root) | no | package.yaml |
| validate-lower-bound | Set to "true" to fail, or "warn" to emit a warning without failing, if the base lower bound covers GHC major versions with breaking changes below the minimum version in tested-with | no | false |
Outputs
| name | description |
|---|---|
| max-ghc-version | The GHC version to install |
| ghc-version | Deprecated - use max-ghc-version instead |
| min-ghc-version | The oldest GHC version whose base satisfies the lower bound in package.yaml |
| ghc-versions | JSON array of all compatible GHC versions, sorted newest first |