New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github Actions YAML python-version example should use strings, not floats #11019
Comments
|
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
|
@alexkyllo |
|
Thanks for opening this issue! You or anyone is welcome to open a PR to address this. |
|
I also opened a corresponding issue for the template workflows that this article is based off of: actions/starter-workflows#1158 |
Without quotes, version number is considered as a float, which will cause trouble with Python 3.10. See github/docs#11019
Code of Conduct
What article on docs.github.com is affected?
Building and testing Python
What part(s) of the article would you like to see updated?
The python-version example should use strings and not floats.
should be
Why? Because Python 3.10 is out, and if it's specified as a float, it gets interpreted as 3.1. Using strings instead of floats in the docs will help many users avoid this pitfall.
The text was updated successfully, but these errors were encountered: