From fa674ceb36394ee48424c8d53cec30bad1346d2f Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sun, 24 Apr 2022 12:43:31 +0000 Subject: [PATCH] chore: add lint step In this step we check: 1. format 2. credo 3. dialyzer --- .drone.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 8ce7902..5d1a62e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -40,7 +40,13 @@ steps: POSTGRES_PASS: postgres commands: - mix do local.rebar --force, local.hex --force, deps.get, deps.compile - - mix test --cover --trace --slowest 10 + - make test + + - name: lint + image: 'elixir:1.13.4' + commands: + - mix do local.rebar --force, local.hex --force, deps.get, deps.compile + - make static_code_analysis - name: rebuild cache image: 'meltwater/drone-cache:v1.3.0'