From c51b12b4d65b3bfdc027e7dfd3d1e88297d04af4 Mon Sep 17 00:00:00 2001 From: Sebastian Rust Date: Fri, 6 Feb 2026 09:34:21 +0100 Subject: [PATCH] fix(cicd): use python container instead of setup-python action Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/build.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 952b8d7..110c121 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -11,20 +11,14 @@ on: jobs: build: runs-on: ubuntu-latest + container: + image: python:3.12-slim steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: '3.12' - check-latest: true - cache: 'pip' - - name: Install dependencies - run: | - pip install ansible ansible-bundler + run: pip install ansible ansible-bundler - name: Verify playbook syntax run: |