From 35c961fd557fcf5a9f6a9ad14c26b237a2fe4ea3 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Mon, 4 Sep 2023 22:54:48 +0200 Subject: [PATCH] ci: enable caching --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c229e57..8f1df2a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install nix - uses: cachix/install-nix-action@v23 + uses: DeterminateSystems/nix-installer-action@main with: nix_path: "${{ matrix.nixPath }}" # nix 2.6 breaks restrict-eval, when using the NIX_PATH @@ -49,6 +49,7 @@ jobs: extra_nix_config: | experimental-features = nix-command flakes access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/magic-nix-cache-action@main - name: Show nixpkgs version run: nix-instantiate --eval -E '(import {}).lib.version' #- name: Setup cachix