Skip to content
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

Improve Haskell installation in GH Actions #286

Closed
teggotic opened this issue Dec 18, 2022 · 1 comment
Closed

Improve Haskell installation in GH Actions #286

teggotic opened this issue Dec 18, 2022 · 1 comment
Assignees

Comments

@teggotic
Copy link
Contributor

teggotic commented Dec 18, 2022

  • the GitHub actions workflow uses ghc -9.2.4.

We should not use haskell/actions/setup@v2 action because it installs unnecessary tools for us. The only tool we need is ghcup which we can use to install stack.
This will improve initialization times of Haskell actions.

@teggotic teggotic self-assigned this Dec 18, 2022
@github-actions
Copy link

Thank you for submitting the first issue! You're making a great contribution to improve Elegant Git.

teggotic added a commit that referenced this issue Dec 24, 2022
Make a custom step to pull ghcup to install all tools for the project.
To setup working environment we install `stack` and configure it to use
globally installed GHC from ghcup. This makes it easier to cache
everything.

#286
teggotic added a commit that referenced this issue Dec 24, 2022
Make a custom step to pull `ghcup` to install all tools for the project.
To set up a working environment, we install `stack` and configure it to
use globally installed `GHC` from `ghcup`. This makes it easier to cache
everything.

#286
@extsoft extsoft closed this as completed Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants