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
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
run: .qlot/bin/rove ningle-fbr.asd