-
-
Notifications
You must be signed in to change notification settings - Fork 74
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 GitHub actions #351
Comments
That's actually awesome idea! Probably, to use it we want users to specify their cachix name then if we decide to go with that option. But I see that there are several ways to build in there. It all should depend on the build tool selected for the project, I guess. |
The only restriction I can think of now is not to allow to use |
Please let me know if there’s anything that I can do to help out on this—I use GH Actions extensively for Haskell CI, and summoner support for it would be 💯 |
@patrickt Thanks for your interest! Supporting GitHub actions shouldn't be that hard 🙂 But it requires to add changes in a few places:
Does it make sense? Also, @vrom911, am I missing anything, does this look correct? |
* Add cGhActions field to Config. I don't know if this is the perfect field name, but it's good enough for now. * Add -a flag to the CLI (not sure how to test this) * Add Actions prompt to the CLI. Chose to show Travis only if GH Actions was not selected. * Generate .github/workflows/haskell.yml. * Fill out haskell.yml. * Add a comment to the generated YAML re. caching strategies. * Fix golden tests. * Only prompt for actions in Cabal projects. * Fix summoner-tui build. * Apply suggestions from code review Co-Authored-By: Dmitrii Kovanikov <[email protected]> * haskell.yml => ci.yml. * Adjust the tests. * Fix remaining test issues from autocommit earlier. * Use intercalateMap. * Update summoner-cli/src/Summoner/Config.hs Co-Authored-By: Dmitrii Kovanikov <[email protected]> * Prompt for both Actions and Travis CI. * alignment Co-authored-by: Dmitrii Kovanikov <[email protected]>
Resolved in #393 |
They seem to work pretty nice and they have native support for Haskell with the following template:
So we can support them in
summoner
as well, specifically:.github/workflows/ci.yml
fileThe only questions is how to configure them properly, maybe we want to support
cachix
The text was updated successfully, but these errors were encountered: