WIP: Improve caching #2

Closed
paku wants to merge 4 commits from ci into main
Showing only changes of commit 17aa3dcce7 - Show all commits

View file

@ -23,13 +23,15 @@ jobs:
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
with: with:
path: | path: |
~/.quicklisp-client-fix
~/.roswell
/usr/local/bin/ros /usr/local/bin/ros
/usr/local/etc/roswell/ /usr/local/etc/roswell/
~/.roswell qlfile
~/.config/common-lisp/source-registry.conf.d qlfile.lock
~/lisp .qlot
.qlot/ ~/.cache/common-lisp/
key: roswell-${{ runner.os }}-${{ matrix.lisp }}-${{ hashFiles('qlfile.lock', '.forgejo/workflows/CI.yml') }} key: roswell-${{ runner.os }}-${{ matrix.lisp }}-${{ hashFiles('qlfile', 'qlfile.lock', '*.asd') }}
- name: Install dependencies - name: Install dependencies
if: steps.restore-cache.outputs.cache-hit != 'true' if: steps.restore-cache.outputs.cache-hit != 'true'
@ -47,12 +49,14 @@ jobs:
if: steps.restore-cache.outputs.cache-hit != 'true' if: steps.restore-cache.outputs.cache-hit != 'true'
with: with:
path: | path: |
~/.quicklisp-client-fix
~/.roswell
/usr/local/bin/ros /usr/local/bin/ros
/usr/local/etc/roswell/ /usr/local/etc/roswell/
~/.roswell qlfile
~/.config/common-lisp/source-registry.conf.d qlfile.lock
~/lisp .qlot
.qlot/ ~/.cache/common-lisp/
key: ${{ steps.restore-cache.outputs.cache-primary-key }} key: ${{ steps.restore-cache.outputs.cache-primary-key }}
- name: Run tests - name: Run tests