From a2c06f72618ef56d3d10a415ab7f7904f13cae1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sta=C5=84czak-Marikin?= Date: Mon, 3 Jun 2024 14:56:58 +0200 Subject: [PATCH] Add dialyzer --- .github/workflows/format.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 58d2ecfd6..d4da26ffb 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -3,7 +3,7 @@ # separate terms of service, privacy policy, and support # documentation. -name: Lint (mix format) +name: Lint and style checks on: push: @@ -75,7 +75,11 @@ jobs: - name: Install dependencies run: mix compile - # Step: Download project dependencies. If unchanged, uses - # the cached version. - - name: Lint + lint: + name: Linting + needs: build + steps: + - name: mix format run: mix format --check-formatted + - name: mix dialyzer + run: mix dialyzer --format github