From 49f8001c0e5b4ac74e7ad0d98a5ebb527bccde48 Mon Sep 17 00:00:00 2001 From: Adrian Hesketh Date: Thu, 2 Nov 2023 16:08:53 +0000 Subject: [PATCH] chore: use magic nix cache to speed up builds --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17cdfebd8..c9df574e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,8 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/magic-nix-cache-action@v2 + - name: Test run: nix develop --command xc test-cover @@ -44,6 +46,8 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/magic-nix-cache-action@v2 + - name: Lint run: nix develop --command xc lint @@ -56,6 +60,8 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/magic-nix-cache-action@v2 + - name: Generate run: nix develop --command xc generate