dwyl/learn-elixir
Run `mix credo` on `GitHub Actions` for Code Consistency 😍
Aperta
#235 aperta il 29 lug 2026
T25mdocumentationelixirenhancementhelp wantedpriority-2technical
Metriche repository
- Star
- (1695 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Context
We have used 3rd party code quality badges e.g. CodeClimate in the past.
But haven't applied them to our Elixir projects ... until now! 🤷♂️
Example
while reading: https://github.com/cesium/safira discovered via @ruilopesm & @nelsonmestevao 🫶
we see they have the following badge: prominently displayed:
The action is: /cesium/safira/.github/workflows/style.yml
Note: we are using
credoin several projects e.g:mvpjust not running themixtask onGitHub Actionsor displaying a badge for "Code Quality".
Todo ✅
- Document the setup steps in a
code-style.mdfile in this (/learn-elixir) repo. 📝- Create PR here in
/learn-elixir🆕
- Create PR here in
- Add it to at least one repo, e.g:
fields🌻 - Run the
mix credo --all --strictonlocalhostto ensure it passes; 💻- Make any necessary changes. 🛠️
- Add a
flat-squarebadge to the repo. 🏷️ - Create PR in the repo where the
style.ymltask is being added. :shipit: - Submit for review. 👀