diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f440c16..388e760 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -26,12 +26,13 @@ jobs: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: astral-sh/setup-uv@v6 with: python-version: "3.13" + activate-environment: true - name: Install package - run: pip install -e ".[dev]" + run: uv pip install -e ".[dev]" - name: Run tests run: pytest @@ -155,16 +156,17 @@ jobs: - name: Set up Python if: env.PYPI_TOKEN != '' - uses: actions/setup-python@v5 + uses: astral-sh/setup-uv@v6 with: python-version: "3.13" + activate-environment: true - name: Build distributions if: env.PYPI_TOKEN != '' env: SETUPTOOLS_SCM_PRETEND_VERSION: ${{ needs.build.outputs.version }} run: | - pip install build twine + uv pip install build twine python -m build twine check dist/*