diff --git a/.forgejo/workflows/CI.yml b/.forgejo/workflows/CI.yml index d4216da..a06345d 100644 --- a/.forgejo/workflows/CI.yml +++ b/.forgejo/workflows/CI.yml @@ -9,40 +9,36 @@ on: jobs: test: runs-on: docker - + strategy: matrix: lisp: - sbcl-bin - + env: LISP: ${{ matrix.lisp }} steps: - uses: actions/checkout@v4 - - name: Restore cache - id: restore-cache - uses: actions/cache/restore@v4 - with: - path: .roswell/ - key: roswell-${{ runner.os }}-${{ matrix.lisp }} - - - name: Install Roswell and Qlot - if: steps.restore-cache.outputs.cache-hit != 'true' + - name: Install Roswell + if: steps.cache-roswell.outputs.cache-hit != 'true' env: LISP: ${{ matrix.lisp }} run: | curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh - ros install fukamachi/qlot - - - name: Save cache - id: save-cache - uses: actions/cache/save@v4 + + - name: Install Qlot + if: steps.cache-roswell.outputs.cache-hit != 'true' + run: ros install fukamachi/qlot + + - name: Cache Roswell + id: cache-roswell + uses: actions/cache@v4 with: path: .roswell/ - key: ${{ steps.restore-cache.outputs.cache-primary-key }} - + key: roswell-${{ runner.os }}-${{ matrix.lisp }} + - name: Install dependencies run: | PATH="~/.roswell/bin:$PATH"