fix: replace astral-sh/setup-uv action with shell install

The JS-based GitHub Action doesn't work on Gitea's act runner.
Use curl installer + GITHUB_PATH instead.
This commit is contained in:
2026-02-13 19:40:51 -05:00
parent 7b3bfc6812
commit 32a4bd1bb5

View File

@@ -21,10 +21,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up uv - name: Set up uv
uses: astral-sh/setup-uv@v7 run: curl -LsSf https://astral.sh/uv/install.sh | sh && echo "$HOME/.local/bin" >> $GITHUB_PATH
with:
version: "latest"
activate-environment: false
- name: Set up Python - name: Set up Python
run: uv python install 3.12 run: uv python install 3.12
@@ -46,10 +43,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up uv - name: Set up uv
uses: astral-sh/setup-uv@v7 run: curl -LsSf https://astral.sh/uv/install.sh | sh && echo "$HOME/.local/bin" >> $GITHUB_PATH
with:
version: "latest"
activate-environment: false
- name: Set up Python - name: Set up Python
run: uv python install 3.12 run: uv python install 3.12