From f8699dcc8c95347aecf8390ab41389e6c0db1684 Mon Sep 17 00:00:00 2001
From: paku <paku@skyizwhite.dev>
Date: Sat, 11 Jan 2025 22:26:36 +0900
Subject: [PATCH 1/2] Update deps

---
 qlfile      |  5 +++--
 qlfile.lock | 12 ++++++------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/qlfile b/qlfile
index 88e3eca..b44b6df 100644
--- a/qlfile
+++ b/qlfile
@@ -3,5 +3,6 @@ ql lack
 ql cl-ppcre
 ql alexandria
 ql trivial-system-loader
-github rove fukamachi/rove
-github dissect shinmera/dissect
+
+git rove https://github.com/fukamachi/rove
+git dissect https://github.com/shinmera/dissect
diff --git a/qlfile.lock b/qlfile.lock
index 251711d..a25f779 100644
--- a/qlfile.lock
+++ b/qlfile.lock
@@ -23,10 +23,10 @@
   :initargs (:%version :latest)
   :version "ql-2024-10-12"))
 ("rove" .
- (:class qlot/source/github:source-github
-  :initargs (:repos "fukamachi/rove" :ref nil :branch nil :tag nil)
-  :version "github-cacea7331c10fe9d8398d104b2dfd579bf7ea353"))
+ (:class qlot/source/git:source-git
+  :initargs (:remote-url "https://github.com/fukamachi/rove")
+  :version "git-cacea7331c10fe9d8398d104b2dfd579bf7ea353"))
 ("dissect" .
- (:class qlot/source/github:source-github
-  :initargs (:repos "shinmera/dissect" :ref nil :branch nil :tag nil)
-  :version "github-a70cabcd748cf7c041196efd711e2dcca2bbbb2c"))
+ (:class qlot/source/git:source-git
+  :initargs (:remote-url "https://github.com/shinmera/dissect")
+  :version "git-a70cabcd748cf7c041196efd711e2dcca2bbbb2c"))

From 7f4303edddfe7f5499b69d7b939fa7687ccd88f8 Mon Sep 17 00:00:00 2001
From: paku <paku@skyizwhite.dev>
Date: Sat, 11 Jan 2025 22:29:42 +0900
Subject: [PATCH 2/2] Add workflow for forgejo actions

---
 .forgejo/workflows/ci.yml              | 59 ++++++++++++++++++++++++++
 .github/workflows/{test.yml => ci.yml} |  7 ++-
 2 files changed, 62 insertions(+), 4 deletions(-)
 create mode 100644 .forgejo/workflows/ci.yml
 rename .github/workflows/{test.yml => ci.yml} (89%)

diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml
new file mode 100644
index 0000000..cc3a524
--- /dev/null
+++ b/.forgejo/workflows/ci.yml
@@ -0,0 +1,59 @@
+name: 'CI'
+
+on:
+  push:
+    branches:
+      - 'master'
+  pull_request:
+
+jobs:
+  test:
+    runs-on: docker
+
+    strategy:
+      matrix:
+        lisp:
+          - sbcl-bin
+
+    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: |
+          curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
+          ros install fukamachi/qlot
+          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 ningle-fbr.asd
\ No newline at end of file
diff --git a/.github/workflows/test.yml b/.github/workflows/ci.yml
similarity index 89%
rename from .github/workflows/test.yml
rename to .github/workflows/ci.yml
index 2c2a54a..f53e3d3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/ci.yml
@@ -1,4 +1,4 @@
-name: 'test'
+name: 'CI'
 
 on:
   push:
@@ -9,13 +9,12 @@ on:
 jobs:
   tests:
     runs-on: ubuntu-latest
-    
+
     strategy:
       matrix:
         lisp:
           - sbcl-bin
-          - ccl-bin
-          
+
     env:
       LISP: ${{ matrix.lisp }}