From dd5da89e23f04897d2f223584e417bf418b8efa7 Mon Sep 17 00:00:00 2001 From: Andrei Dziahel Date: Tue, 28 Nov 2023 16:18:28 +0100 Subject: [PATCH] ci: setup-nix: try disabing restore-cache-hit --- .github/actions/setup-nix/action.yaml | 1 - .github/workflows/ci.yaml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-nix/action.yaml b/.github/actions/setup-nix/action.yaml index 3f08d7b645..3d1496c252 100644 --- a/.github/actions/setup-nix/action.yaml +++ b/.github/actions/setup-nix/action.yaml @@ -23,7 +23,6 @@ runs: key: cache-nix-${{ runner.os }}-id-${{ inputs.cache-id }}-${{ hashFiles('nix/**/*.nix') }} restore-keys: | cache-nix-${{ runner.os }}-common- - restore-key-hit: true - uses: cachix/cachix-action@v12 with: name: postgrest diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4107058579..55232e2657 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -169,6 +169,7 @@ jobs: cache-nix-${{ runner.os }}-id-${{ matrix.cache-id }}- cache-nix-${{ runner.os }}-common- purge-created-max-age: 86400 # 1 day + # TODO: enable garbage collection Build-Macos-Nix: name: Build MacOS (Nix)