Improve CI workflow

This commit is contained in:
Akira Tempaku 2025-01-12 01:27:21 +09:00
commit 2562363e20
Signed by: paku
GPG key ID: 5B4E8402BCC50607
2 changed files with 14 additions and 39 deletions
.forgejo/workflows

View file

@ -17,22 +17,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Restore cache
id: restore-cache
uses: actions/cache/restore@v4
with:
path: |
/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') }}
- name: Install dependencies
if: steps.restore-cache.outputs.cache-hit != 'true'
env:
LISP: ${{ matrix.lisp }}
run: |
@ -41,19 +27,5 @@ jobs:
PATH="~/.roswell/bin:$PATH"
qlot install
- name: Save cache
id: save-cache
uses: actions/cache/save@v4
if: steps.restore-cache.outputs.cache-hit != 'true'
with:
path: |
/usr/local/bin/ros
/usr/local/etc/roswell/
~/.roswell
~/.config/common-lisp/source-registry.conf.d
~/lisp
.qlot/
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
- name: Run tests
run: .qlot/bin/rove lack-mw.asd
run: .qlot/bin/rove lack-mw.asd