From 17aa3dcce79a5552af53cae895c0962913319388 Mon Sep 17 00:00:00 2001 From: paku Date: Sun, 12 Jan 2025 12:42:20 +0900 Subject: [PATCH] Improve caching --- .forgejo/workflows/CI.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/CI.yml b/.forgejo/workflows/CI.yml index e523456..a4034c1 100644 --- a/.forgejo/workflows/CI.yml +++ b/.forgejo/workflows/CI.yml @@ -23,13 +23,15 @@ jobs: uses: actions/cache/restore@v4 with: path: | + ~/.quicklisp-client-fix + ~/.roswell /usr/local/bin/ros /usr/local/etc/roswell/ - ~/.roswell - ~/.config/common-lisp/source-registry.conf.d - ~/lisp - .qlot/ - key: roswell-${{ runner.os }}-${{ matrix.lisp }}-${{ hashFiles('qlfile.lock', '.forgejo/workflows/CI.yml') }} + qlfile + qlfile.lock + .qlot + ~/.cache/common-lisp/ + key: roswell-${{ runner.os }}-${{ matrix.lisp }}-${{ hashFiles('qlfile', 'qlfile.lock', '*.asd') }} - name: Install dependencies if: steps.restore-cache.outputs.cache-hit != 'true' @@ -47,13 +49,15 @@ jobs: if: steps.restore-cache.outputs.cache-hit != 'true' with: path: | + ~/.quicklisp-client-fix + ~/.roswell /usr/local/bin/ros /usr/local/etc/roswell/ - ~/.roswell - ~/.config/common-lisp/source-registry.conf.d - ~/lisp - .qlot/ + qlfile + qlfile.lock + .qlot + ~/.cache/common-lisp/ key: ${{ steps.restore-cache.outputs.cache-primary-key }} - name: Run tests - run: .qlot/bin/rove ningle-fbr.asd \ No newline at end of file + run: .qlot/bin/rove ningle-fbr.asd