From 1cf4debd3cee35b149c8ec7b400bd1cfbd28ded4 Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Tue, 23 Apr 2024 17:24:22 +0100 Subject: [PATCH] Reposition caches --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92dfcd94..243160f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,16 +35,18 @@ jobs: - name: Install Nix uses: DeterminateSystems/nix-installer-action@main + - name: Enable Cachix binary cache + run: | + nix-env -iA cachix -f https://cachix.org/api/v1/install + cachix use crane + cachix use nix-community + - name: Configure Magic Nix Cache uses: DeterminateSystems/magic-nix-cache-action@main - name: Apply Nix binary cache configuration run: | - nix-env -iA cachix -f https://cachix.org/api/v1/install - cachix use crane - cachix use nix-community sudo tee -a /etc/nix/nix.conf > /dev/null <