diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 10af9741..41a0b1cd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,7 +51,7 @@ jobs: - name: Restore plts uses: actions/cache@v2 with: - path: priv/plts + path: tools/plts key: ${{ runner.os }}-dialyzer-${{ matrix.elixir_version }}-${{ matrix.otp_version }}-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} - run: mix deps.get - run: MIX_ENV=test mix compile --warnings-as-errors diff --git a/.gitignore b/.gitignore index e1c8ff74..02e8ddbd 100644 --- a/.gitignore +++ b/.gitignore @@ -28,5 +28,5 @@ benchee-*.tar # Misc. save.benchee /test/tmp/ -/priv/plts/benchee.plt -/priv/plts/benchee.plt.hash +/tools/plts/benchee.plt +/tools/plts/benchee.plt.hash diff --git a/mix.exs b/mix.exs index d1d22a13..56d698dd 100644 --- a/mix.exs +++ b/mix.exs @@ -27,7 +27,7 @@ defmodule Benchee.Mixfile do ], dialyzer: [ flags: [:unmatched_returns, :error_handling, :race_conditions, :underspecs], - plt_file: {:no_warn, "priv/plts/benchee.plt"} + plt_file: {:no_warn, "tools/plts/benchee.plt"} ], name: "Benchee", description: """ diff --git a/priv/plts/.gitignore b/tools/plts/.gitignore similarity index 100% rename from priv/plts/.gitignore rename to tools/plts/.gitignore