From d74af730e2118d78e9f28f8018ea2f08d631f945 Mon Sep 17 00:00:00 2001 From: Cloud User Date: Wed, 25 Feb 2026 15:45:59 +0900 Subject: [PATCH] Fix CI workflow: remove container directive for node compatibility - actions/checkout@v4 requires node, which is missing in python:3.10-slim - Use default ubuntu-22.04 image and install python3 via apt Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/ci.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index a5b0ffc..414d035 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,16 +9,15 @@ on: jobs: lint-and-test: runs-on: ubuntu-22.04 - container: - image: python:3.10-slim steps: - name: Checkout uses: actions/checkout@v4 - - name: Install dependencies + - name: Install Python & dependencies run: | - pip install -r requirements.txt - pip install ruff pytest + apt-get update && apt-get install -y python3 python3-pip + pip3 install -r requirements.txt + pip3 install ruff pytest - name: Lint run: ruff check .