Why not go all the way? Have that in your
aliases
section of mix.exs
:
check: [
"compile --warnings-as-errors",
"format --check-formatted",
"credo --strict",
"coveralls.html",
"dialyzer --format short"
]
Then just run mix check
and voila, you almost have locally running CI.