From f43c09b05dc12b1ea06c59400a9388b5fac56ceb Mon Sep 17 00:00:00 2001 From: morguldir Date: Wed, 3 Jul 2024 06:13:39 +0200 Subject: [PATCH] ci: pin cache-nix-action Signed-off-by: morguldir --- .github/workflows/ci.yml | 4 ++-- .github/workflows/documentation.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc11a226..efb2a9c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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') }} diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 9051d048..9beb5064 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -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') }}