diff --git a/.github/workflows/release-h3daemon.yml b/.github/workflows/release-h3daemon.yml index cd5c0f0..9ece554 100644 --- a/.github/workflows/release-h3daemon.yml +++ b/.github/workflows/release-h3daemon.yml @@ -12,19 +12,27 @@ defaults: jobs: release: runs-on: ubuntu-latest + environment: name: pypi url: https://pypi.org/p/h3daemon + permissions: id-token: write steps: - uses: actions/checkout@v4 + - name: Install uv + uses: astral-sh/setup-uv@v5 + - name: Build - run: pipx run build + run: | + uv sync --all-extras --dev + uv build - uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: h3daemon/dist skip-existing: true + verbose: true diff --git a/.github/workflows/test-h3daemon.yml b/.github/workflows/test-h3daemon.yml index a5e426e..aa17154 100644 --- a/.github/workflows/test-h3daemon.yml +++ b/.github/workflows/test-h3daemon.yml @@ -22,7 +22,10 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install uv + uses: astral-sh/setup-uv@v5 + - name: Run tests run: | - pipx run poetry install - pipx run poetry run pytest + uv sync --all-extras --dev + uv run pytest