try bumping cache-nix-action to v6
Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -129,7 +129,7 @@ jobs:
|
|||||||
# we want a fresh-state when we do releases/tags to avoid potential cache poisoning attacks impacting
|
# we want a fresh-state when we do releases/tags to avoid potential cache poisoning attacks impacting
|
||||||
# releases and tags
|
# releases and tags
|
||||||
#if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
#if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||||
uses: nix-community/cache-nix-action@v5.1.0
|
uses: nix-community/cache-nix-action@v6
|
||||||
with:
|
with:
|
||||||
# restore and save a cache using this key
|
# restore and save a cache using this key
|
||||||
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/.lock') }}
|
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/.lock') }}
|
||||||
@@ -146,8 +146,6 @@ jobs:
|
|||||||
purge-last-accessed: 86400
|
purge-last-accessed: 86400
|
||||||
# except the version with the `primary-key`, if it exists
|
# except the version with the `primary-key`, if it exists
|
||||||
purge-primary-key: never
|
purge-primary-key: never
|
||||||
# always save the cache
|
|
||||||
save-always: true
|
|
||||||
|
|
||||||
- name: Enable Cachix binary cache
|
- name: Enable Cachix binary cache
|
||||||
run: |
|
run: |
|
||||||
@@ -324,7 +322,7 @@ jobs:
|
|||||||
# we want a fresh-state when we do releases/tags to avoid potential cache poisoning attacks impacting
|
# we want a fresh-state when we do releases/tags to avoid potential cache poisoning attacks impacting
|
||||||
# releases and tags
|
# releases and tags
|
||||||
#if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
#if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||||
uses: nix-community/cache-nix-action@v5.1.0
|
uses: nix-community/cache-nix-action@v6
|
||||||
with:
|
with:
|
||||||
# restore and save a cache using this key
|
# restore and save a cache using this key
|
||||||
primary-key: nix-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**/*.nix', '**/.lock') }}
|
primary-key: nix-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**/*.nix', '**/.lock') }}
|
||||||
@@ -341,8 +339,6 @@ jobs:
|
|||||||
purge-last-accessed: 86400
|
purge-last-accessed: 86400
|
||||||
# except the version with the `primary-key`, if it exists
|
# except the version with the `primary-key`, if it exists
|
||||||
purge-primary-key: never
|
purge-primary-key: never
|
||||||
# always save the cache
|
|
||||||
save-always: true
|
|
||||||
|
|
||||||
- name: Enable Cachix binary cache
|
- name: Enable Cachix binary cache
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
4
.github/workflows/documentation.yml
vendored
4
.github/workflows/documentation.yml
vendored
@@ -76,7 +76,7 @@ jobs:
|
|||||||
# we want a fresh-state when we do releases/tags to avoid potential cache poisoning attacks impacting
|
# we want a fresh-state when we do releases/tags to avoid potential cache poisoning attacks impacting
|
||||||
# releases and tags
|
# releases and tags
|
||||||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||||
uses: nix-community/cache-nix-action@v5.1.0
|
uses: nix-community/cache-nix-action@v6
|
||||||
with:
|
with:
|
||||||
# restore and save a cache using this key
|
# restore and save a cache using this key
|
||||||
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/.lock') }}
|
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/.lock') }}
|
||||||
@@ -93,8 +93,6 @@ jobs:
|
|||||||
purge-last-accessed: 86400
|
purge-last-accessed: 86400
|
||||||
# except the version with the `primary-key`, if it exists
|
# except the version with the `primary-key`, if it exists
|
||||||
purge-primary-key: never
|
purge-primary-key: never
|
||||||
# always save the cache
|
|
||||||
save-always: true
|
|
||||||
|
|
||||||
- name: Enable Cachix binary cache
|
- name: Enable Cachix binary cache
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user