From 0687aa4e353d0015ff1f3bdf0e95c8886bbe3b45 Mon Sep 17 00:00:00 2001 From: Bryan Lai Date: Sat, 9 Nov 2024 17:10:19 +0800 Subject: [PATCH] feat(ci): use magic nix cache uses: DeterminateSystems/magic-nix-cache-action@v8 --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8266f71..86a762d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,6 +14,7 @@ jobs: - uses: cachix/install-nix-action@V27 with: nix_path: nixpkgs=channel:nixos-unstable + - uses: DeterminateSystems/magic-nix-cache-action@v8 - run: nix-build flakes: @@ -27,5 +28,6 @@ jobs: with: extra_nix_config: | access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/magic-nix-cache-action@v8 - run: nix build - run: nix flake check