Add basic CI setup (#30)
Co-authored-by: Rafael Epplée <hello@rafa.ee> Reviewed-on: #30 Co-authored-by: Moritz <moritz.m@local-it.org> Co-committed-by: Moritz <moritz.m@local-it.org>
This commit is contained in:
parent
c16c411891
commit
7b5f37960f
8 changed files with 115 additions and 8 deletions
20
Justfile
20
Justfile
|
|
@ -5,4 +5,22 @@ install-dependencies:
|
|||
mix deps.get
|
||||
|
||||
migrate-database:
|
||||
mix ecto.create
|
||||
mix ecto.create
|
||||
|
||||
reset-database:
|
||||
mix ecto.reset
|
||||
|
||||
ci-dev: lint audit test
|
||||
|
||||
lint:
|
||||
mix format --check-formatted
|
||||
mix compile --warnings-as-errors
|
||||
mix credo
|
||||
|
||||
audit:
|
||||
mix sobelow --config
|
||||
mix deps.audit
|
||||
mix hex.audit
|
||||
|
||||
test:
|
||||
mix test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue