diff --git a/.github/actions/setup-nix/action.yml b/.github/actions/setup-nix/action.yml index 719aadb32..785c96e82 100644 --- a/.github/actions/setup-nix/action.yml +++ b/.github/actions/setup-nix/action.yml @@ -13,6 +13,8 @@ runs: steps: - uses: DeterminateSystems/nix-installer-action@v12 - uses: nix-community/cache-nix-action@v5 + with: + primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }} - name: Prepare nix dev shell shell: nix develop .#ci -c bash -e {0} run: |