Skip to content

Modernize CI and publish version 2.1.1 on merge - #387

Merged
olucurious merged 3 commits into
masterfrom
agent/modernize-actions
Aug 18, 2026
Merged

Modernize CI and publish version 2.1.1 on merge#387
olucurious merged 3 commits into
masterfrom
agent/modernize-actions

Conversation

@olucurious

Copy link
Copy Markdown
Owner

What changed

  • modernize checkout and Python setup actions
  • split linting and tests, with tests covering Python 3.9 through 3.13
  • build and publish to PyPI only after lint and tests pass on a push to the default master branch
  • retain the existing PYPI_USERNAME and PYPI_PASSWORD secrets for compatibility
  • skip an already-published version instead of failing the workflow
  • remove the separate release-triggered publishing workflow
  • bump the package version from 2.1.0 to 2.1.1

Why

Publishing should follow a successful merge to the repository's current default branch rather than requiring a separate GitHub release. Keeping publishing behind the same CI dependencies prevents an unverified package upload.

Validation

  • black --target-version py310 --check .
  • flake8 fatal-error checks
  • pytest (11 passed)
  • built wheel and source distribution for 2.1.1
  • twine check dist/*
  • parsed the workflow YAML

@olucurious
olucurious marked this pull request as ready for review August 18, 2026 17:10
@olucurious
olucurious merged commit 5e86247 into master Aug 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant