quote python version numbers

This commit is contained in:
richard 2021-08-28 13:45:49 +01:00
parent eda5e1449c
commit 1a31dc276e

View file

@ -17,7 +17,7 @@ jobs:
runs-on: macos-10.15
strategy:
matrix:
python-version: [ 3.6, 3.7, 3.8, 3.9, 3.10 ]
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
env:
MACOSX_DEPLOYMENT_TARGET: 10.14
steps:
@ -61,7 +61,7 @@ jobs:
# You can use PyPy versions in python-version.
# For example, pypy2 and pypy3
matrix:
python-version: [ 3.6, 3.7, 3.8, 3.9, 3.10, pypy-3.6, pypy-3.7 ]
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.6', 'pypy-3.7' ]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
@ -109,7 +109,7 @@ jobs:
# You can use PyPy versions in python-version.
# For example, pypy2 and pypy3
matrix:
python-version: [ 3.6, 3.7, 3.8, 3.9, 3.10 ]
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
@ -169,7 +169,7 @@ jobs:
uses: actions/setup-python@v2.2.2
with:
# Version range or exact version of a Python version to use, using SemVer's version range syntax.
python-version: 3.9
python-version: '3.9'
# The target architecture (x86, x64) of the Python interpreter.
architecture: x64