fix: bootstrap pip on haskelseed runner in Gitea Actions
Some checks failed
ci / test (push) Failing after 40s

This commit is contained in:
2026-06-16 03:27:41 +02:00
parent 4daf8635d1
commit e0e02e261d
2 changed files with 4 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ jobs:
- name: Install package and dev tools - name: Install package and dev tools
run: | run: |
cd repo cd repo
python3 -m ensurepip --upgrade 2>/dev/null || \
curl -sS https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && python3 /tmp/get-pip.py
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
python3 -m pip install -e ".[dev]" python3 -m pip install -e ".[dev]"

View File

@@ -26,6 +26,8 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PACKAGE_TOKEN }} TWINE_PASSWORD: ${{ secrets.PACKAGE_TOKEN }}
run: | run: |
cd repo cd repo
python3 -m ensurepip --upgrade 2>/dev/null || \
curl -sS https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && python3 /tmp/get-pip.py
python3 -m pip install --upgrade pip build twine python3 -m pip install --upgrade pip build twine
python3 -m build python3 -m build
python3 -m twine check dist/* python3 -m twine check dist/*