-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hlint is hard-coded to be installed on GHC 8.4.3 (not the latest GHC) #176
Comments
I think the job HLint ruma have to be configurable, but could be the "latest stable" in the list.
…Sent from my iPhone
On 23 Sep 2018, at 0.42, Ryan Scott ***@***.***> wrote:
https://github.com/haskell-CI/haskell-ci/blob/a9a61032ca0ca2776659a5035c6f348e43bf2657/make_travis_yml_2.hs#L812-L814
The code is hard-coding the use of 80403. This should probably be $LATEST_COMPILER instead so that it stays up to date with the latest GHC releases (such as 8.6.1, for instance).
There are a couple of other lines of code in haskell-ci that also exhibit this problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sure, by all means let this be a configuration option—anything else is better than how it works now :) |
I looked into implementing this recently. My game plan is to have a revamped -- | Used to implement the @--hlint@ and @--doctest@ flags.
data RunProgramOptions
= Don'tRunProgram
-- ^ Don't run the program at all.
-- (e.g., the @--hlint@ flag wasn't passed).
| RunProgramUsingLatest
-- ^ Run the program, but only when using the latest version of GHC in the
-- @tested-with@ stanza.
-- (e.g., the @--hlint@ flag was passed with no arguments).
| RunProgramUsingVersionRange VersionRange
-- ^ Run the program, but only when the version of GHC being used falls
-- within the provided version range.
-- (e.g, @--hlint=\"==8.4.3\"@). There's one annoying problem that I ran into, however. In addition to the What would a |
A solution to this issue would be very much appreciated. I recently updated my test builds from ghc 8.4.3 to 8.4.4 and was unpleasantly surprised by the fact that this means Personally, I believe that specifying |
Fixed in #204 |
haskell-ci/make_travis_yml_2.hs
Lines 812 to 814 in a9a6103
The code is hard-coding the use of
80403
. This should probably be$LATEST_COMPILER
instead so that it stays up to date with the latest GHC releases (such as 8.6.1, for instance).There are a couple of other lines of code in
haskell-ci
that also exhibit this problem.The text was updated successfully, but these errors were encountered: