ci: use manual git checkout in Arch container
CI / build-and-test (push) Failing after 39s

actions/checkout requires Node.js, which isn't in archlinux:latest.
Manual git clone + checkout FETCH_HEAD instead. Adds git to pacman.
This commit is contained in:
2026-08-04 14:34:45 -04:00
parent e3d41dcd20
commit 76b5a78e75
+7 -3
View File
@@ -11,12 +11,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: archlinux:latest container: archlinux:latest
steps: steps:
- uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: | run: |
pacman -Syu --noconfirm 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 - name: Build kappa
run: | run: |