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

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36689 110
New
michalmuskala
Hello everybody. I have just released Jason - a new JSON library. You might be wondering, why do we need a new library? The primary foc...
New
josevalim
Yes, yet another parser combinator library! Most of the parser combinators in the ecosystem are either compile-time, often using AST tra...
159 19870 141
New
wfgilman
I’ve cleaned up and open sourced three financial libraries I was using for my company. They are bindings for the APIs of these three comp...
New
josevalim
Hi everyone, We would like to announce that Plataformatec is working on a new MySQL driver called MyXQL. Our goal is to eventually integ...
New
fuelen
Hey folks! Want to present a toolkit for writing command-line user interfaces. It provides a convenient interface for colorizing text...
New
zachdaniel
Ash Framework What is Ash? Ash Framework is a declarative, resource-oriented application development framework for Elixir. A resource can...
New

Other popular topics Top

dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement