From b2735ceb82da4fd84abffb112e2c2fb3447140ee Mon Sep 17 00:00:00 2001 From: Jack Chakany Date: Fri, 11 Sep 2026 21:53:23 +0200 Subject: [PATCH] Cache Linux Nix CI builds --- .github/workflows/nix.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 5399336c..635c395c 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -40,6 +40,15 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} + - name: Cache Linux Nix builds + if: runner.os == 'Linux' + timeout-minutes: 3 + uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 + with: + use-gha-cache: enabled + use-flakehub: disabled + diagnostic-endpoint: "" + - name: Check flake run: nix flake check --no-update-lock-file --print-build-logs