Skip to content

仓库 files navigation

ni/python-actions

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

操作

  • 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.

关于

Reusable GitHub 操作 for NI Python projects

Resources

Contributing

安全 policy

Stars

2 stars

关注者

1 watching

复刻s

发布

Used by

贡献者

Languages