Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 66319ca

Browse filesBrowse files
authored
Use quotes around Python versions in README (actions#175)
1 parent 3105fb1 commit 66319ca
Copy full SHA for 66319ca

File tree

Expand file treeCollapse file tree

1 file changed

+13
-13
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+13
-13
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ jobs:
6161
strategy:
6262
matrix:
6363
os: [ubuntu-latest, macos-latest, windows-latest]
64-
python-version: [2.7, 3.6, 3.7, 3.8, pypy-2.7, pypy-3.6]
64+
python-version: ['2.7', '3.6', '3.7', '3.8', 'pypy-2.7', 'pypy-3.6']
6565
exclude:
6666
- os: macos-latest
67-
python-version: 3.8
67+
python-version: '3.8'
6868
- os: windows-latest
69-
python-version: 3.6
69+
python-version: '3.6'
7070
steps:
7171
- uses: actions/checkout@v2
7272
- name: Set up Python
@@ -85,7 +85,7 @@ jobs:
8585
strategy:
8686
matrix:
8787
# in this example, there is a newer version already installed, 3.7.7, so the older version will be downloaded
88-
python-version: [3.5, 3.6, 3.7.4, 3.8]
88+
python-version: ['3.5', '3.6', '3.7.4', '3.8']
8989
steps:
9090
- uses: actions/checkout@v2
9191
- uses: actions/setup-python@v2
@@ -114,7 +114,7 @@ steps:
114114
- run: python my_script.py
115115
```
116116
117-
Download and set up PyPy:
117+
Download and set up PyPy:
118118
119119
```yaml
120120
jobs:
@@ -123,9 +123,9 @@ jobs:
123123
strategy:
124124
matrix:
125125
python-version:
126-
- pypy-3.6 # the latest available version of PyPy that supports Python 3.6
127-
- pypy-3.7 # the latest available version of PyPy that supports Python 3.7
128-
- pypy-3.7-v7.3.3 # Python 3.7 and PyPy 7.3.3
126+
- 'pypy-3.6' # the latest available version of PyPy that supports Python 3.6
127+
- 'pypy-3.7' # the latest available version of PyPy that supports Python 3.7
128+
- 'pypy-3.7-v7.3.3' # Python 3.7 and PyPy 7.3.3
129129
steps:
130130
- uses: actions/checkout@v2
131131
- uses: actions/setup-python@v2
@@ -151,11 +151,11 @@ Check out our detailed guide on using [Python with GitHub Actions](https://help.
151151
- Downloadable Python versions from GitHub Releases ([actions/python-versions](https://github.com/actions/python-versions/releases)).
152152
- All available versions are listed in the [version-manifest.json](https://github.com/actions/python-versions/blob/main/versions-manifest.json) file.
153153
- If there is a specific version of Python that is not available, you can open an issue here
154-
154+
155155
# Available versions of PyPy
156-
156+
157157
`setup-python` is able to configure PyPy from two sources:
158-
158+
159159
- Preinstalled versions of PyPy in the tools cache on GitHub-hosted runners
160160
- For detailed information regarding the available versions of PyPy that are installed see [Supported software](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-software).
161161
- For the latest PyPy release, all versions of Python are cached.
@@ -190,9 +190,9 @@ You should specify only a major and minor version if you are okay with the most
190190
- There will be a single patch version already installed on each runner for every minor version of Python that is supported.
191191
- The patch version that will be preinstalled, will generally be the latest and every time there is a new patch released, the older version that is preinstalled will be replaced.
192192
- Using the most recent patch version will result in a very quick setup since no downloads will be required since a locally installed version Python on the runner will be used.
193-
193+
194194
# Specifying a PyPy version
195-
The version of PyPy should be specified in the format `pypy-<python_version>[-v<pypy_version>]`.
195+
The version of PyPy should be specified in the format `pypy-<python_version>[-v<pypy_version>]`.
196196
The `<pypy_version>` parameter is optional and can be skipped. The latest version will be used in this case.
197197

198198
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.