diff --git a/.gitea/workflows/update-laws.yaml b/.gitea/workflows/update-laws.yaml index de315dd4..d2ad8aa1 100644 --- a/.gitea/workflows/update-laws.yaml +++ b/.gitea/workflows/update-laws.yaml @@ -10,20 +10,16 @@ on: jobs: update: runs-on: ubuntu-latest + container: + image: python:3.11-bookworm steps: - name: Check environment run: | - echo "=== System Info ===" + echo "=== System ===" uname -a - echo "=== Python ===" python3 --version - echo "=== Pip ===" - pip3 --version || pip --version || echo "pip nicht gefunden" - echo "=== Git ===" + pip --version git --version - echo "=== Welche Shell ===" - echo $SHELL - which python3 pip3 git - name: Configure Git run: | @@ -39,9 +35,6 @@ jobs: - name: Install Python dependencies run: | - pip3 install --break-system-packages -r requirements.txt || \ - pip install --break-system-packages -r requirements.txt || \ - pip3 install -r requirements.txt || \ pip install -r requirements.txt - name: Run update script