Skip to content

Fix lint: line length and import sorting in tests #2

Fix lint: line length and import sorting in tests

Fix lint: line length and import sorting in tests #2

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- 'v*'
jobs:
ci:
uses: ./.github/workflows/test.yml
github-release:
needs: ci
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- run: gh release create "${{ github.ref_name }}" --generate-notes --latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
needs: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
- run: uv python install 3.12
- run: uv build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
publish:
needs: build
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: dist
path: dist/
- uses: pypa/gh-action-pypi-publish@release/v1