From b2ca2b779788d893799ad9c6944feedd121aef82 Mon Sep 17 00:00:00 2001 From: blissful Date: Mon, 13 May 2024 00:55:04 -0400 Subject: [PATCH] cache zig in ci --- .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