switch to cachix nix installer
The determinate one is deprecating the installation of the official nix.
This commit is contained in:
parent
969630c22b
commit
81dc4f280d
4 changed files with 30 additions and 14 deletions
27
.github/workflows/build.yaml
vendored
27
.github/workflows/build.yaml
vendored
|
|
@ -53,10 +53,13 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
uses: cachix/install-nix-action@v31
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
extra-conf: "system-features = nixos-test benchmark big-parallel kvm"
|
enable_kvm: true
|
||||||
|
extra_nix_config: |
|
||||||
|
keep-outputs = true
|
||||||
|
keep-failed = true
|
||||||
- name: Setup Caching
|
- name: Setup Caching
|
||||||
uses: cachix/cachix-action@v16
|
uses: cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
|
|
@ -80,10 +83,13 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
uses: cachix/install-nix-action@v31
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
extra-conf: "system-features = nixos-test benchmark big-parallel kvm"
|
enable_kvm: true
|
||||||
|
extra_nix_config: |
|
||||||
|
keep-outputs = true
|
||||||
|
keep-failed = true
|
||||||
- name: Setup Caching
|
- name: Setup Caching
|
||||||
uses: cachix/cachix-action@v16
|
uses: cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
|
|
@ -108,10 +114,13 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
uses: cachix/install-nix-action@v31
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
extra-conf: "system-features = nixos-test benchmark big-parallel kvm"
|
enable_kvm: true
|
||||||
|
extra_nix_config: |
|
||||||
|
keep-outputs = true
|
||||||
|
keep-failed = true
|
||||||
- name: Setup Caching
|
- name: Setup Caching
|
||||||
uses: cachix/cachix-action@v16
|
uses: cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
8
.github/workflows/demo.yml
vendored
8
.github/workflows/demo.yml
vendored
|
|
@ -60,8 +60,14 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Install nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v31
|
uses: cachix/install-nix-action@v31
|
||||||
|
with:
|
||||||
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
enable_kvm: true
|
||||||
|
extra_nix_config: |
|
||||||
|
keep-outputs = true
|
||||||
|
keep-failed = true
|
||||||
|
|
||||||
- uses: cachix/cachix-action@v16
|
- uses: cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
5
.github/workflows/lock-update.yaml
vendored
5
.github/workflows/lock-update.yaml
vendored
|
|
@ -12,10 +12,9 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
uses: cachix/install-nix-action@v31
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
extra-conf: "system-features = nixos-test benchmark big-parallel kvm"
|
|
||||||
- name: Update flake.lock
|
- name: Update flake.lock
|
||||||
uses: DeterminateSystems/update-flake-lock@main
|
uses: DeterminateSystems/update-flake-lock@main
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
4
.github/workflows/pages.yml
vendored
4
.github/workflows/pages.yml
vendored
|
|
@ -31,8 +31,10 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Install nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v31
|
uses: cachix/install-nix-action@v31
|
||||||
|
with:
|
||||||
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Setup Caching
|
- name: Setup Caching
|
||||||
uses: cachix/cachix-action@v16
|
uses: cachix/cachix-action@v16
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue