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:
parent
81ce204502
commit
cfc8900c5c
3 changed files with 10 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue