Skip to content

Commit f14ab08

Browse files
authored
Merge pull request #8172 from pytest-dev/revert-8171-fix-ci-setup-python
Use new pypy3 github actions syntax
2 parents 403424d + 293a7c9 commit f14ab08

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
os: ubuntu-latest
9090
tox_env: "py39-xdist"
9191
- name: "ubuntu-pypy3"
92-
python: "pypy3"
92+
python: "pypy-3.7"
9393
os: ubuntu-latest
9494
tox_env: "pypy3-xdist"
9595

@@ -123,8 +123,7 @@ jobs:
123123
with:
124124
fetch-depth: 0
125125
- name: Set up Python ${{ matrix.python }}
126-
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
127-
uses: actions/[email protected]
126+
uses: actions/setup-python@v2
128127
with:
129128
python-version: ${{ matrix.python }}
130129
- name: Install dependencies
@@ -159,8 +158,7 @@ jobs:
159158
runs-on: ubuntu-latest
160159
steps:
161160
- uses: actions/checkout@v2
162-
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
163-
- uses: actions/[email protected]
161+
- uses: actions/setup-python@v2
164162
- name: set PY
165163
run: echo "name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
166164
- uses: actions/cache@v2
@@ -186,8 +184,7 @@ jobs:
186184
with:
187185
fetch-depth: 0
188186
- name: Set up Python
189-
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
190-
uses: actions/[email protected]
187+
uses: actions/setup-python@v2
191188
with:
192189
python-version: "3.7"
193190
- name: Install dependencies

.github/workflows/prepare-release-pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ jobs:
2222
fetch-depth: 0
2323

2424
- name: Set up Python
25-
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
26-
uses: actions/[email protected]
25+
uses: actions/setup-python@v2
2726
with:
2827
python-version: "3.8"
2928

.github/workflows/release-on-comment.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
fetch-depth: 0
2020

2121
- name: Set up Python
22-
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
23-
uses: actions/[email protected]
22+
uses: actions/setup-python@v2
2423
with:
2524
python-version: "3.8"
2625
- name: Install dependencies

0 commit comments

Comments
 (0)