From 81dc4f280d6bcb9b0766df34e1a24a6e8e1c8e02 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Wed, 8 Oct 2025 09:42:35 +0200 Subject: [PATCH] switch to cachix nix installer The determinate one is deprecating the installation of the official nix. --- .github/workflows/build.yaml | 27 ++++++++++++++++++--------- .github/workflows/demo.yml | 8 +++++++- .github/workflows/lock-update.yaml | 5 ++--- .github/workflows/pages.yml | 4 +++- 4 files changed, 30 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8cea1cd..5b677f0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -53,10 +53,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v5 - name: Install Nix - uses: DeterminateSystems/nix-installer-action@main + uses: cachix/install-nix-action@v31 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - extra-conf: "system-features = nixos-test benchmark big-parallel kvm" + github_access_token: ${{ secrets.GITHUB_TOKEN }} + enable_kvm: true + extra_nix_config: | + keep-outputs = true + keep-failed = true - name: Setup Caching uses: cachix/cachix-action@v16 with: @@ -80,10 +83,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v5 - name: Install Nix - uses: DeterminateSystems/nix-installer-action@main + uses: cachix/install-nix-action@v31 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - extra-conf: "system-features = nixos-test benchmark big-parallel kvm" + github_access_token: ${{ secrets.GITHUB_TOKEN }} + enable_kvm: true + extra_nix_config: | + keep-outputs = true + keep-failed = true - name: Setup Caching uses: cachix/cachix-action@v16 with: @@ -108,10 +114,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v5 - name: Install Nix - uses: DeterminateSystems/nix-installer-action@main + uses: cachix/install-nix-action@v31 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - extra-conf: "system-features = nixos-test benchmark big-parallel kvm" + github_access_token: ${{ secrets.GITHUB_TOKEN }} + enable_kvm: true + extra_nix_config: | + keep-outputs = true + keep-failed = true - name: Setup Caching uses: cachix/cachix-action@v16 with: diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 021d44a..b16b652 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -60,8 +60,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v5 - - name: Install nix + - name: Install Nix 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 with: diff --git a/.github/workflows/lock-update.yaml b/.github/workflows/lock-update.yaml index ceac4a6..a7dc2dc 100644 --- a/.github/workflows/lock-update.yaml +++ b/.github/workflows/lock-update.yaml @@ -12,10 +12,9 @@ jobs: - name: Checkout repository uses: actions/checkout@v5 - name: Install Nix - uses: DeterminateSystems/nix-installer-action@main + uses: cachix/install-nix-action@v31 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - extra-conf: "system-features = nixos-test benchmark big-parallel kvm" + github_access_token: ${{ secrets.GITHUB_TOKEN }} - name: Update flake.lock uses: DeterminateSystems/update-flake-lock@main with: diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 50841d7..09660e5 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -31,8 +31,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v5 - - name: Install nix + - name: Install Nix uses: cachix/install-nix-action@v31 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Caching uses: cachix/cachix-action@v16