From 59ac444c39514f645457d5947bad685ed5dbf2c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 17 Mar 2024 00:35:40 +0100 Subject: [PATCH] feat(ci): Enable cache in pull requests May help if multiple commits are pushed --- .github/workflows/check.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6530607..ed207dd 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,8 +15,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@v10 - - if: ${{ github.event_name != 'pull_request' }} # Do not cache pull requests - uses: DeterminateSystems/magic-nix-cache-action@v4 + - uses: DeterminateSystems/magic-nix-cache-action@v4 - name: Run `nix flake check` run: nix flake check lockfile: