diff --git a/.gitea/workflows/pr-check.yml b/.gitea/workflows/pr-check.yml index 8874abb..8d5c43c 100644 --- a/.gitea/workflows/pr-check.yml +++ b/.gitea/workflows/pr-check.yml @@ -12,14 +12,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Install UV + - name: Use system Python run: | - curl -LsSf https://astral.sh/uv/install.sh | sh + echo "Python $(python3 --version)" + echo "UV=$(uv --version)" echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Install dependencies diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index a8c0e84..a3f24ec 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -19,14 +19,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Install UV + - name: Use system Python run: | - curl -LsSf https://astral.sh/uv/install.sh | sh + echo "Python $(python3 --version)" + echo "UV=$(uv --version)" echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Get version from tag or pyproject @@ -83,14 +79,9 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Install UV + - name: Use system Python run: | - curl -LsSf https://astral.sh/uv/install.sh | sh + echo "Python $(python3 --version)" echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Install dependencies