From 922cda7f226345680325b55400103cc8d4d1e0dc Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Sat, 6 Aug 2022 01:41:01 +0200 Subject: ci: cache the zig cache files --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f1c67b..601b14a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,5 +36,13 @@ jobs: with: version: master + - uses: actions/cache@v3 + with: + path: | + zig-cache + ~/.cache/zig + key: ${{ runner.os }}-${{ matrix.os }}-zig-${{ github.sha }} + restore-keys: ${{ runner.os }}-${{ matrix.os }}-zig- + - name: Run Tests in memory run: zig build test -Din_memory=true -- cgit v1.2.3