WIP: Improve caching #2

Closed
paku wants to merge 4 commits from ci into main
2 changed files with 13 additions and 4 deletions
Showing only changes of commit 60731d3382 - Show all commits

View file

@ -17,7 +17,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Restore cache - name: Restore cache
id: restore-cache id: restore-cache
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4
@ -31,17 +31,26 @@ jobs:
qlfile.lock qlfile.lock
.qlot .qlot
~/.cache/common-lisp/ ~/.cache/common-lisp/
key: roswell-${{ runner.os }}-${{ matrix.lisp }}-${{ hashFiles('qlfile', 'qlfile.lock', '*.asd') }} key: roswell-${{ runner.os }}-${{ matrix.lisp }}-${{ hashFiles('qlfile', 'qlfile.lock', '*.asd', '.forgejo/workflows/ci.yml') }}
- name: Install dependencies - name: Install Roswell
if: steps.restore-cache.outputs.cache-hit != 'true' if: steps.restore-cache.outputs.cache-hit != 'true'
env: env:
LISP: ${{ matrix.lisp }} LISP: ${{ matrix.lisp }}
run: | run: |
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
- name: Install Qlot
if: steps.restore-cache.outputs.cache-hit != 'true'
run: |
ros install fukamachi/qlot ros install fukamachi/qlot
- name: Install dependencies
if: steps.restore-cache.outputs.cache-hit != 'true'
run: |
PATH="~/.roswell/bin:$PATH" PATH="~/.roswell/bin:$PATH"
qlot install qlot install
qlot exec ros install ningle-fbr
- name: Save cache - name: Save cache
id: save-cache id: save-cache

View file

@ -13,7 +13,7 @@
("cl-ppcre" . ("cl-ppcre" .
(:class qlot/source/ql:source-ql (:class qlot/source/ql:source-ql
:initargs (:%version :latest) :initargs (:%version :latest)
:version "ql-2023-10-21")) :version "ql-2023-06-18"))
("alexandria" . ("alexandria" .
(:class qlot/source/ql:source-ql (:class qlot/source/ql:source-ql
:initargs (:%version :latest) :initargs (:%version :latest)