From 7d6a0dedf99ae81e37b3830268ca28ff671ba922 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Wed, 7 Jul 2021 01:27:46 +0000 Subject: [PATCH] [extra-02] add credo action to review prs --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08fab6f..35b0579 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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