Marcus

Marcus

GitHubActions - A little tool to write GitHub actions in Elixir

GitHubActions is an experimental lib to write workflow yml files in Elixir. The lib comes with a default workflow script.

To give it a try you can run

$> mix archive.install hex git_hub_actions
$> mix gha
* creating .github/workflows/ci.yml

in your project. The mix task creates a yml file like this.

GitHubActions and the default workflow script reads the MixProject of your project and generates a job running on ubuntu-latest. If the project contains credo and/or dialyzer, the steps “Lint code” and “Static code analysis” will be added. It will also create a strategy: matrix: according to the config of your project.

As mentioned above, this lib is experimental and was for now just test with my little projects.

Most Liked

qhwa

qhwa

Awesome library! Thanks for sharing. There’s a lot of takeaways from your CI YAML.

Do you think if it will be a good idea to organize the steps into a parallel?

Last Post!

Marcus

Marcus

Awesome library! Thanks for sharing. There’s a lot of takeaways from your CI YAML.

Thanks.

Do you think if it will be a good idea to organize the steps into a parallel?

For now, I have not planed to run steps in parallel. I don’t think the benefit would be that great. But maybe I will give it a try.

Where Next?

Popular in Announcing Top

wmnnd
Hi there, for my project DBLSQD, I needed a file storage solution that is a bit more flexible than Arc. Because I thought others might f...
New
mathieuprog
Hello :waving_hand: Allow me to introduce you to Tz, an alternative time zone database support to Tzdata. Why another library? First a...
New
tmbb
PhoenixWS - Websockets over Phoenix Channels Source code on Github here: GitHub - tmbb/phoenix_ws: Websockets implemented over Phoenix Ch...
New
dominicletz
Hi, I thought I had posted my library before but seems I hadn’t. The project is still in early stages but it’s growing and so I think it...
New
zachdaniel
Ash Framework What is Ash? Ash Framework is a declarative, resource-oriented application development framework for Elixir. A resource can...
New
zoltanszogyenyi
Hey everyone :waving_hand: Excited to join this forum - I am one of the founders and current project maintainers of a popular and open-s...
New
markmark206
simple_feature_flags is a tiny package that lets you turn features on or off based on which environment (e.g. localhost, staging, product...
New

Other popular topics Top

Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31525 112
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement