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:
Moritz 2025-04-28 14:24:30 +02:00
parent c16c411891
commit 7b5f37960f
Signed by: moritz
GPG key ID: 1020A035E5DD0824
8 changed files with 115 additions and 8 deletions

View file

@ -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