[extra-02] add credo action to review prs

This commit is contained in:
Joao P Dubas 2021-07-07 01:27:46 +00:00
parent 7075efb18b
commit 7d6a0dedf9

View File

@ -79,7 +79,11 @@ jobs:
priv/plts
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}
- run: mix format --check-formatted
- run: mix credo --strict --format flycheck
- name: credo analysis
uses: red-shirts/reviewdog-action-credo@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
- run: mix dialyzer --no-check --quiet --ignore-exit-status --format short
test:
needs: dependencies