forked from pub-solar/infra
ci: update nix-quick-install-action, cache-nix-action,
cachix-action
This commit is contained in:
parent
3030b0f84d
commit
46c7c9ecb1
|
@ -10,7 +10,7 @@ jobs:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
- uses: https://github.com/nixbuild/nix-quick-install-action@v26
|
- uses: https://github.com/nixbuild/nix-quick-install-action@v27
|
||||||
with:
|
with:
|
||||||
load_nixConfig: false
|
load_nixConfig: false
|
||||||
nix_conf: |
|
nix_conf: |
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
echo "hash=$(md5sum flake.lock | awk '{print $1}')" >> $GITHUB_OUTPUT
|
echo "hash=$(md5sum flake.lock | awk '{print $1}')" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Restore and cache Nix store
|
- name: Restore and cache Nix store
|
||||||
uses: https://github.com/nix-community/cache-nix-action@v4
|
uses: https://github.com/nix-community/cache-nix-action@v5
|
||||||
id: nix-store-cache
|
id: nix-store-cache
|
||||||
with:
|
with:
|
||||||
key: cache-${{ runner.os }}-nix-store-${{ steps.flake-lock-hash.outputs.hash }}
|
key: cache-${{ runner.os }}-nix-store-${{ steps.flake-lock-hash.outputs.hash }}
|
||||||
|
@ -40,7 +40,7 @@ jobs:
|
||||||
purge-created-max-age: 42
|
purge-created-max-age: 42
|
||||||
|
|
||||||
- name: Prepare cachix
|
- name: Prepare cachix
|
||||||
uses: https://github.com/cachix/cachix-action@v12
|
uses: https://github.com/cachix/cachix-action@v14
|
||||||
with:
|
with:
|
||||||
name: pub-solar
|
name: pub-solar
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
Loading…
Reference in a new issue