From b5c356d445f4ce3509e3e5b2e1e9c6c3c8645f4e Mon Sep 17 00:00:00 2001 From: azuline Date: Mon, 13 May 2024 00:23:38 -0500 Subject: [PATCH] cache zig in ci (#135) --- .github/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 030dfcc..1653aae 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,6 +14,12 @@ jobs: authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - name: Build Nix run: nix build -j8 .#devShells.x86_64-linux.default + - name: Zig Cache + uses: actions/cache@v4 + with: + path: rose-zig/zig-cache + key: ${{ runner.os }}-rose-zig + save-always: true - name: Typecheck if: success() || failure() # Means that we run all steps even if one fails. run: nix develop --command make typecheck