diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d5dee4d..2332528 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -21,15 +21,16 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build + python-version-file: pyproject.toml + - name: Set up uv + uses: astral-sh/setup-uv@v4 + with: + version: 0.5.6 + enable-cache: true - name: Build package - run: python -m build + run: uv build - name: Publish package - uses: pypa/gh-action-pypi-publish@release/v1.8 + run: uv publish