diff --git a/.github/actions/setup-nix/action.yaml b/.github/actions/setup-nix/action.yaml index 706bc0a92c..c4051cf798 100644 --- a/.github/actions/setup-nix/action.yaml +++ b/.github/actions/setup-nix/action.yaml @@ -20,7 +20,7 @@ runs: - name: Restore and cache Nix store uses: nix-community/cache-nix-action@v4.0.3 with: - key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix') }} + key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix', '.github/actions/setup-nix/*') }} restore-keys: | cache-nix-${{ runner.os }}-id- - uses: cachix/cachix-action@v12