From 7705ef54f6cc26ae2caf40deddf94fbdc6055222 Mon Sep 17 00:00:00 2001 From: Username Date: Wed, 18 Feb 2026 18:34:54 +0100 Subject: [PATCH] ci: run syntax-check in container (fix missing git) --- .gitea/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 081f973..b8e051d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -10,9 +10,12 @@ on: jobs: syntax-check: runs-on: dotfiles + container: + image: python:3-slim steps: - name: Checkout run: | + apt-get update -qq && apt-get install -y -qq git >/dev/null git clone --depth 1 --branch "${GITHUB_REF_NAME}" \ "https://oauth2:${{ github.token }}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" .