diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dec166e..6be542f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,6 +73,32 @@ jobs: - run: mix test --warnings-as-errors --cover + dialyzer: + runs-on: ubuntu-22.04 + env: + MIX_ENV: test + + steps: + - uses: actions/checkout@v4 + + - name: Set up Elixir + id: beam + uses: erlef/setup-beam@v1 + with: + elixir-version: 1.16 + otp-version: 26 + + - uses: actions/cache@v4 + with: + path: | + deps + _build + key: deps-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }} + restore-keys: | + deps-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }} + + - run: mix deps.get + - name: Restore PLT cache id: plt_cache_restore uses: actions/cache/restore@v3