-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support GHC nightly #20
base: main
Are you sure you want to change the base?
Support GHC nightly #20
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thanks!
-
Please add a test case for this feature to the CI.
-
Is the bump to node 20 essential? I don't know what the best practice for actions is atm, whether node 16 is still recommended. If there are no strong reasons to move away from the default (which seems 16 still), I'd like to stick to it. The setup-node action does not know about 20, it seems from the docs, the newest there is 18: https://github.com/actions/setup-node
09d5694
to
9e4f89a
Compare
No, the bump to Node 20 isn't essential, I'll remove it. I think I was getting confused about why As an aside, why does CI not check that |
7f85bbc
to
76cbb23
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update!
Since I am not the architect of this action but just stepped in for a burned-out maintainer I don't know how the .js
generation works and what could go wrong with it. I am happy to accept additions to CI that test that it is generated correctly.
0368e28
to
a709f1e
Compare
@andreasabel I pushed a tentative implementation, let me know what you think. I'm also unsure why the windows job is failing now; it passed last time: https://github.com/haskell-actions/setup/actions/runs/5527334962/jobs/10082976242 |
Great, thanks for the update! On a cursory look, I noticed that the
This could be an upstream problem. I noticed that in the failing run, you got an older version of the Windows runner than in the successful run:
In particular, in the older image |
We can't use YAML lists 😢 Workflow inputs are converted into env vars. But actually, I do see Also, I thought the action upgrades ghcup to the version in the versions file? Does it not for windows? EDIT: oh I see it aborts before installing ghcup: Line 315 in 1ffbf9f
It also seems like ghcup doesn't provide windows 32 binaries. |
b95c795
to
8970902
Compare
8970902
to
3b8222b
Compare
0c50b6d
to
3f27154
Compare
@brandonchinn178 wrote:
Yes, I think that would be more idiomatic. I know it e.g. from
I would expect the same. Apparently something is not working correctly here. |
I tried removing the windows early exit, and it didnt work. ghcup has windows 64 binaries but github actions uses windows 32. similarly, i tried ghcup upgrade, but that also failed |
@andreasabel I saw you merged #27; what should I do with this PR? Should I break out the various refactorings?
|
Sad to see this lingering... |
Resolves #19