From dd12d5339314ce0c572c9f94f039abffe188a904 Mon Sep 17 00:00:00 2001 From: Dan Schultzer <1254724+danschultzer@users.noreply.github.com> Date: Sat, 28 Dec 2024 15:07:24 -0800 Subject: [PATCH] Hash individual mix.lock files in GHA --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3cd870..166a56c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: path: | _build deps - key: ${{ runner.os }}-mix-${{ env.cache-name }}-${{ hashFiles('**/mix.lock') }} + key: ${{ runner.os }}-mix-${{ env.cache-name }}-${{ hashFiles('mix.lock') }} - run: mix deps.get - run: mix compile --warnings-as-errors - run: mix credo --strict --ignore design.tagtodo @@ -51,7 +51,7 @@ jobs: path: | integration/_build integration/deps - key: ${{ runner.os }}-mix-${{ env.cache-name }}-${{ hashFiles('**/integration/mix.lock') }} + key: ${{ runner.os }}-mix-${{ env.cache-name }}-${{ hashFiles('integration/mix.lock') }} - run: mix deps.get - run: mix compile --warnings-as-errors - run: mix format --check-formatted