-
Notifications
You must be signed in to change notification settings - Fork 54
GHC version on Windows is not selected correctly #245
Comments
Great analysis, |
Weird, why is this test not failing then? https://github.com/haskell/actions/actions/runs/4854045876/jobs/8650938147 |
@andreasabel no idea but could 9.4.4 be special somehow? You reference a job called "Add GHC 9.4.5", and it adds 9.4.3, I think. So, not 9.4.4. Meanwhile, by Javier's advice, I printed the
Is it possible to ask |
@ulysses4ever wrote:
Yes, as it does not find 9.4.4, it reports errors.
The action then calls Maybe the logical step that is missing before calling |
Yes, that sounds exactly right to me. |
@ulysses4ever : Could you test #246? |
I'm sorry but is it |
here's the run with what you said: https://github.com/haskell/cabal/actions/runs/4875978697/jobs/8698883501?pr=8934 |
Seems to work: https://github.com/haskell/cabal/actions/runs/4875978697/jobs/8698883501?pr=8934#step:7:12 |
@andreasabel yes! |
Ok, I'll release this as 2.3.9. |
With 9.4.4 and cabal 3.10.1.0 instead of 9.4.3 and cabal 3.8, I can reproduce this locally: https://github.com/haskell/actions/actions/runs/4876106161/jobs/8699177636?pr=247 |
The existing case Windows / GHC 9.4.3 / Cabal 3.8 did not catch this.
Amazing work! Thank you Andreas for the swift fix and thanks Javier for pitching in ideas for how to investigate! |
Thanks for early testing and reporting, @ulysses4ever ! |
Consider this run on Cabal CI and in particular the step where
haskell/action
tries to setup GHC 9.4.4.So,
ghcup
spits some errors (is it expected?) and then callschoco
to install 9.4.4choco
seems to succeed in installing GHC 9.4.4ghcup
installed by default. This is wrong (we asked for 9.4.4)The text was updated successfully, but these errors were encountered: