From b1b94ca17e292b12b3c6752f45c29f47526351c3 Mon Sep 17 00:00:00 2001
From: paku <paku@skyizwhite.dev>
Date: Sat, 11 Jan 2025 12:50:26 +0900
Subject: [PATCH 1/2] Migrate from GitHub Actions to Forgejo Actions

---
 .forgejo/workflows/test.yml | 36 ++++++++++++++++++++++++++++++++++++
 .github/workflows/test.yml  | 29 -----------------------------
 2 files changed, 36 insertions(+), 29 deletions(-)
 create mode 100644 .forgejo/workflows/test.yml
 delete mode 100644 .github/workflows/test.yml

diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
new file mode 100644
index 0000000..2d9eb4f
--- /dev/null
+++ b/.forgejo/workflows/test.yml
@@ -0,0 +1,36 @@
+name: 'test'
+
+on:
+  push:
+    branches:
+      - 'master'
+  pull_request:
+
+jobs:
+  tests:
+    runs-on: docker
+    
+    strategy:
+      matrix:
+        lisp:
+          - sbcl-bin
+          - ccl-bin
+          
+    env:
+      LISP: ${{ matrix.lisp }}
+
+    steps:
+      - uses: actions/checkout@v4
+      - name: Install Roswell
+        env:
+          LISP: ${{ matrix.lisp }}
+        run: |
+          curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
+      - name: Install Qlot
+        run: |
+          ros install fukamachi/qlot
+          PATH="~/.roswell/bin:$PATH"
+      - name: Install dependencies
+        run: qlot install
+      - name: Run tests
+        run: .qlot/bin/rove hsx.asd
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
deleted file mode 100644
index decfc7c..0000000
--- a/.github/workflows/test.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-name: 'test'
-
-on:
-  push:
-    branches:
-      - 'master'
-  pull_request:
-
-jobs:
-  tests:
-    runs-on: ubuntu-latest
-    
-    strategy:
-      matrix:
-        lisp:
-          - sbcl-bin
-          - ccl-bin
-          
-    env:
-      LISP: ${{ matrix.lisp }}
-
-    steps:
-      - uses: actions/checkout@v4
-      - uses: 40ants/setup-lisp@v4
-        with:
-          asdf-system: hsx
-      - uses: 40ants/run-tests@v2
-        with:
-          asdf-system: hsx

From b057ff148a74b04a970689218ff89af88cf6275c Mon Sep 17 00:00:00 2001
From: paku <paku@skyizwhite.dev>
Date: Sat, 11 Jan 2025 12:50:26 +0900
Subject: [PATCH 2/2] Migrate from GitHub Actions to Forgejo Actions

---
 .forgejo/workflows/test.yml | 35 +++++++++++++++++++++++++++++++++++
 .github/workflows/test.yml  | 29 -----------------------------
 2 files changed, 35 insertions(+), 29 deletions(-)
 create mode 100644 .forgejo/workflows/test.yml
 delete mode 100644 .github/workflows/test.yml

diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
new file mode 100644
index 0000000..5bef683
--- /dev/null
+++ b/.forgejo/workflows/test.yml
@@ -0,0 +1,35 @@
+name: 'test'
+
+on:
+  push:
+    branches:
+      - 'master'
+  pull_request:
+
+jobs:
+  tests:
+    runs-on: docker
+    
+    strategy:
+      matrix:
+        lisp:
+          - sbcl-bin
+          
+    env:
+      LISP: ${{ matrix.lisp }}
+
+    steps:
+      - uses: actions/checkout@v4
+      - name: Install Roswell
+        env:
+          LISP: ${{ matrix.lisp }}
+        run: |
+          curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
+      - name: Install Qlot
+        run: |
+          ros install fukamachi/qlot
+          PATH="~/.roswell/bin:$PATH"
+      - name: Install dependencies
+        run: qlot install
+      - name: Run tests
+        run: .qlot/bin/rove hsx.asd
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
deleted file mode 100644
index decfc7c..0000000
--- a/.github/workflows/test.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-name: 'test'
-
-on:
-  push:
-    branches:
-      - 'master'
-  pull_request:
-
-jobs:
-  tests:
-    runs-on: ubuntu-latest
-    
-    strategy:
-      matrix:
-        lisp:
-          - sbcl-bin
-          - ccl-bin
-          
-    env:
-      LISP: ${{ matrix.lisp }}
-
-    steps:
-      - uses: actions/checkout@v4
-      - uses: 40ants/setup-lisp@v4
-        with:
-          asdf-system: hsx
-      - uses: 40ants/run-tests@v2
-        with:
-          asdf-system: hsx