Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.13 KB

File metadata and controls

18 lines (15 loc) · 1.13 KB

ni/python-actions

ni/python-actions is a Git repository containing reusable GitHub Actions for NI Python projects.

Actions

  • ni/python-actions/setup-python: installs Python and adds it to the PATH, single-sourcing the default Python version for multiple NI Python projects.
  • ni/python-actions/setup-poetry: installs Poetry, adds it to the PATH, and caches it to speed up workflows.
  • ni/python-actions/analyze-project: analyzes the code quality of a Python project using various linters and type checkers.
  • ni/python-actions/check-project-version: uses Poetry to get the version of a Python project and checks that it matches an expected version. Publish workflows can use this to verify that the release tag matches the version number in pyproject.toml.
  • ni/python-actions/update-project-version: uses Poetry to update the version of a Python project and creates a pull request to modify its pyproject.toml file. Publish workflows can use this to update the version in pyproject.toml for the next build.