ci: use system Python instead of setup-python action
Some checks failed
Release & Publish / build (push) Failing after 7s
Release & Publish / publish-gitea (push) Has been skipped
Release & Publish / docs (push) Has been skipped

This commit is contained in:
root 2026-03-29 00:02:17 +00:00
parent 1ae2e146fe
commit 309aca6036
2 changed files with 8 additions and 21 deletions

View File

@ -12,14 +12,10 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Python - name: Use system Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install UV
run: | run: |
curl -LsSf https://astral.sh/uv/install.sh | sh echo "Python $(python3 --version)"
echo "UV=$(uv --version)"
echo "$HOME/.local/bin" >> $GITHUB_PATH echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies - name: Install dependencies

View File

@ -19,14 +19,10 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Setup Python - name: Use system Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install UV
run: | run: |
curl -LsSf https://astral.sh/uv/install.sh | sh echo "Python $(python3 --version)"
echo "UV=$(uv --version)"
echo "$HOME/.local/bin" >> $GITHUB_PATH echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Get version from tag or pyproject - name: Get version from tag or pyproject
@ -83,14 +79,9 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Python - name: Use system Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install UV
run: | run: |
curl -LsSf https://astral.sh/uv/install.sh | sh echo "Python $(python3 --version)"
echo "$HOME/.local/bin" >> $GITHUB_PATH echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies - name: Install dependencies