CI: run Credo in strict mode

Exclude test files from AliasUsage check in .credo.exs.
Use mix credo --strict in Justfile and .drone.yml.
This commit is contained in:
Moritz 2026-03-03 19:03:41 +01:00
parent 81ce204502
commit cfc8900c5c
Signed by: moritz
GPG key ID: 1020A035E5DD0824
3 changed files with 10 additions and 4 deletions

View file

@ -52,7 +52,7 @@ steps:
# Check for dependencies that are not maintained anymore
- mix hex.audit
# Provide hints for improving code quality
- mix credo
- mix credo --strict
# Check that translations are up to date
- mix gettext.extract --check-up-to-date
@ -159,7 +159,7 @@ steps:
# Check for dependencies that are not maintained anymore
- mix hex.audit
# Provide hints for improving code quality
- mix credo
- mix credo --strict
# Check that translations are up to date
- mix gettext.extract --check-up-to-date