From 50363ab85b36e4d35e038f753482f16ec882854e Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Fri, 8 Jul 2022 20:02:52 +0100 Subject: [PATCH] Generate the cache hash by flake.lock --- .github/workflows/check-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index 2f38d6c..593e7ff 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -24,7 +24,7 @@ jobs: id: cache-nix-store with: path: nix-store.dump - key: nix-store-${{ hashFiles('flake.*') }} + key: nix-store-${{ hashFiles('flake.lock') }} restore-keys: | nix-store- - name: Import /nix/store contents @@ -58,7 +58,7 @@ jobs: id: cache-nix-store with: path: nix-store.dump - key: nix-store-${{ hashFiles('flake.*') }} + key: nix-store-${{ hashFiles('flake.lock') }} restore-keys: | nix-store- - name: Import /nix/store contents @@ -87,7 +87,7 @@ jobs: id: cache-nix-store-emacsGit with: path: nix-store.dump - key: nix-store-emacsGit-${{ hashFiles('flake.*') }} + key: nix-store-emacsGit-${{ hashFiles('flake.lock') }} restore-keys: | nix-store-emacsGit- - name: Import /nix/store contents