ci: pin cache-nix-action

Signed-off-by: morguldir <morguldir@protonmail.com>
This commit is contained in:
morguldir 2024-07-03 06:13:39 +02:00
parent b035cd7cbe
commit f43c09b05d
No known key found for this signature in database
GPG key ID: 5A6025D4F6E7A8A3
2 changed files with 3 additions and 3 deletions

View file

@ -74,7 +74,7 @@ jobs:
cachix use nix-community
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v5
uses: nix-community/cache-nix-action@v5.1.0
with:
# restore and save a cache using this key
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/.lock') }}
@ -199,7 +199,7 @@ jobs:
cachix use nix-community
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v5
uses: nix-community/cache-nix-action@v5.1.0
with:
# restore and save a cache using this key
primary-key: nix-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**/*.nix', '**/.lock') }}

View file

@ -60,7 +60,7 @@ jobs:
cachix use nix-community
- name: Restore and cache Nix store
uses: nix-community/cache-nix-action@v5
uses: nix-community/cache-nix-action@v5.1.0
with:
# restore and save a cache using this key
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/.lock') }}