8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8111ce commit 7bc6abbCopy full SHA for 7bc6abb
docs/advanced-usage.md
@@ -30,7 +30,7 @@ If there is a specific version of Python that you need and you don't want to wor
30
31
```yaml
32
steps:
33
-- uses: actions/checkout@v3
+- uses: actions/checkout@v4
34
- uses: actions/setup-python@v4
35
with:
36
python-version: '3.7.5'
@@ -44,7 +44,7 @@ You can specify **only a major and minor version** if you are okay with the most
44
45
46
47
48
49
50
python-version: '3.7'
@@ -58,7 +58,7 @@ You can specify the version with **prerelease tag** to download and set up an ac
58
59
60
61
62
63
64
python-version: '3.12.0-alpha.1'
@@ -69,7 +69,7 @@ It's also possible to use **x.y-dev syntax** to download and set up the latest p
69
70
71
72
73
74
75
python-version: '3.12-dev'
@@ -82,7 +82,7 @@ You can also use several types of ranges that are specified in [semver](https://
82
83
84
85
86
87
88
python-version: '>=3.9 <3.10'
@@ -93,7 +93,7 @@ steps:
93
94
95
96
97
98
99
python-version: '3.12.0-alpha - 3.12.0'
@@ -104,7 +104,7 @@ steps:
104
105
106
107
108
109
110
python-version: '3.x'
@@ -117,7 +117,7 @@ The version of PyPy should be specified in the format `pypy<python_version>[-v<p
117
The `-v<pypy_version>` parameter is optional and can be skipped. The latest PyPy version will be used in this case.
118
119
```
120
-pypy3.8 or pypy-3.8 # the latest available version of PyPy that supports Python 3.8
+pypy3.9 or pypy-3.9 # the latest available version of PyPy that supports Python 3.9
121
pypy2.7 or pypy-2.7 # the latest available version of PyPy that supports Python 2.7
122
pypy3.7-v7.3.3 or pypy-3.7-v7.3.3 # Python 3.7 and PyPy 7.3.3
123
pypy3.7-v7.x or pypy-3.7-v7.x # Python 3.7 and the latest available PyPy 7.x
@@ -137,7 +137,7 @@ jobs:
137
- 'pypy3.7' # the latest available version of PyPy that supports Python 3.7
138
- 'pypy3.7-v7.3.3' # Python 3.7 and PyPy 7.3.3
139
140
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
141
142
143
python-version: ${{ matrix.python-version }}
@@ -155,7 +155,7 @@ jobs:
155
build:
156
runs-on: ubuntu-latest
157
158
159
160
161
python-version: |
@@ -172,7 +172,7 @@ jobs:
172
173
174
175
176
177
178
@@ -189,7 +189,7 @@ jobs:
189
190
191
192
193
194
195
@@ -211,10 +211,10 @@ jobs:
211
212
strategy:
213
matrix:
214
- python-version: [ '2.x', '3.x', 'pypy2.7', 'pypy3.7', 'pypy3.8' ]
+ python-version: [ '2.x', '3.x', 'pypy2.7', 'pypy3.8', 'pypy3.9' ]
215
name: Python ${{ matrix.python-version }} sample
216
217
218
- name: Set up Python
219
uses: actions/setup-python@v4
220
@@ -232,14 +232,14 @@ jobs:
232
233
234
os: [ubuntu-latest, macos-latest, windows-latest]
235
- python-version: ['2.7', '3.7', '3.8', '3.9', '3.10', 'pypy2.7', 'pypy3.8']
+ python-version: ['2.7', '3.7', '3.8', '3.9', '3.10', 'pypy2.7', 'pypy3.9']
236
exclude:
237
- os: macos-latest
238
python-version: '3.8'
239
- os: windows-latest
240
python-version: '3.6'
241
242
243
244
245
@@ -256,7 +256,7 @@ jobs:
256
257
258
259
260
261
262
python-version-file: '.python-version' # Read python version from a file .python-version
@@ -265,7 +265,7 @@ steps:
265
266
267
268
269
270
271
python-version-file: 'pyproject.toml' # Read python version from a file pyproject.toml
@@ -280,7 +280,7 @@ If `check-latest` is set to `true`, the action first checks if the cached versio
280
281
282
283
284
285
286
@@ -295,7 +295,7 @@ steps:
295
**Caching pipenv dependencies:**
296
297
298
299
300
301
python-version: '3.9'
@@ -308,7 +308,7 @@ steps:
308
**Caching poetry dependencies:**
309
310
311
312
- name: Install poetry
313
run: pipx install poetry
314
@@ -322,7 +322,7 @@ steps:
322
**Using a list of file paths to cache dependencies**
323
324
325
326
327
328
@@ -337,7 +337,7 @@ steps:
337
**Using wildcard patterns to cache dependencies**
338
339
340
341
342
343
@@ -349,7 +349,7 @@ steps:
349
**Using a list of wildcard patterns to cache dependencies**
350
351
352
353
354
355
python-version: '3.10'
@@ -364,7 +364,7 @@ steps:
364
365
366
367
368
369
370
python-version: '3.11'
@@ -387,7 +387,7 @@ jobs:
387
388
389
390
391
392
id: cp310
393
@@ -404,7 +404,7 @@ jobs:
404
405
406
407
408
409
410
@@ -420,7 +420,7 @@ jobs:
420
421
422
423
424
425
426
@@ -451,7 +451,7 @@ Such a requirement on side-effect could be because you don't want your composite
451
452
453
454
455
456
457
@@ -611,7 +611,7 @@ jobs:
611
python_version: ["3.11", "3.12"]
612
613
614
615
616
617
python-version: "${{ matrix.python_version }}"