diff --git a/.github/actions/setup-nix/action.yml b/.github/actions/setup-nix/action.yml index f62076a..ca23537 100644 --- a/.github/actions/setup-nix/action.yml +++ b/.github/actions/setup-nix/action.yml @@ -34,7 +34,7 @@ runs: uses: DeterminateSystems/nix-installer-action@main - name: Cache Nix store - uses: nix-community/cache-nix-action@v6 + uses: nix-community/cache-nix-action@v7 with: # Key on the lockfile + all Nix sources; restore the most recent # arch-matching cache otherwise. diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index 931910e..06624e6 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -38,7 +38,7 @@ jobs: uses: DeterminateSystems/nix-installer-action@main - name: Cache Nix store - uses: nix-community/cache-nix-action@v6 + uses: nix-community/cache-nix-action@v7 with: # Formatting/linting tools (treefmt, statix, …) come from the flake; # key on the lockfile + Nix sources so the tool closure is reused. @@ -62,7 +62,7 @@ jobs: uses: DeterminateSystems/nix-installer-action@main - name: Cache Nix store - uses: nix-community/cache-nix-action@v6 + uses: nix-community/cache-nix-action@v7 with: # Same tool closure as the format job; key on the lockfile + Nix # sources so it is reused across runs.