From 76b5a78e756ea701553f9c623ace0229e2d31c63 Mon Sep 17 00:00:00 2001 From: huntedbytheirs Date: Tue, 4 Aug 2026 14:34:45 -0400 Subject: [PATCH] ci: use manual git checkout in Arch container actions/checkout requires Node.js, which isn't in archlinux:latest. Manual git clone + checkout FETCH_HEAD instead. Adds git to pacman. --- .gitea/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e85dcff..63a1957 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,12 +11,16 @@ jobs: runs-on: ubuntu-latest container: archlinux:latest steps: - - uses: actions/checkout@v4 - - name: Install dependencies run: | pacman -Syu --noconfirm - pacman -S --noconfirm clang cmake ninja + pacman -S --noconfirm clang cmake ninja git + + - name: Checkout + run: | + git clone --depth 1 "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" . + git fetch origin "$GITHUB_REF" + git checkout FETCH_HEAD - name: Build kappa run: |