Skip to content

fix(deps): update dependency pylint to v3.3.8 (#2) #4

fix(deps): update dependency pylint to v3.3.8 (#2)

fix(deps): update dependency pylint to v3.3.8 (#2) #4

Workflow file for this run

name: Publish Python Package
on:
push:
tags:
- "v*"
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write # Mandatory for OIDC.
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv (official Astral action)
uses: astral-sh/setup-uv@v5
with:
version: "0.9.5"
enable-cache: true
python-version: "3.12"
- name: Set up Python (using uv)
run: uv python install
- name: Install all dependencies
run: uv sync --all-extras
- name: Run tests
run: uv run pytest
- name: Build package
run: uv build
- name: Publish to PyPI
run: uv publish --trusted-publishing always