From 87fa5553eb3864472fffa5ae5836ede03bde710e Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Tue, 19 Dec 2023 12:00:00 +0000 Subject: [PATCH] switch to magic nix cache for ci --- .github/workflows/test.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef45cdd..afcd13e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,15 +7,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.5.0 - - uses: cachix/install-nix-action@v23 - with: - nix_path: nixpkgs=channel:nixos-unstable + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v9 + - name: Run the Magic Nix Cache + uses: DeterminateSystems/magic-nix-cache-action@v2 - run: nix-build test.nix mac: runs-on: macos-latest steps: - uses: actions/checkout@v2.5.0 - - uses: cachix/install-nix-action@v23 - with: - nix_path: nixpkgs=channel:nixos-unstable + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v9 + - name: Run the Magic Nix Cache + uses: DeterminateSystems/magic-nix-cache-action@v2 - run: nix-build test.nix