Skip to content

Commit 403424d

Browse files
authored
Merge pull request #8171 from antonblr/fix-ci-setup-python
infra: Temporary pin setup-python GH action to v2.1.4
2 parents bd894e3 + 1264404 commit 403424d

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ jobs:
123123
with:
124124
fetch-depth: 0
125125
- name: Set up Python ${{ matrix.python }}
126-
uses: actions/setup-python@v2
126+
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
127+
uses: actions/[email protected]
127128
with:
128129
python-version: ${{ matrix.python }}
129130
- name: Install dependencies
@@ -158,7 +159,8 @@ jobs:
158159
runs-on: ubuntu-latest
159160
steps:
160161
- uses: actions/checkout@v2
161-
- uses: actions/setup-python@v2
162+
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
163+
- uses: actions/[email protected]
162164
- name: set PY
163165
run: echo "name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
164166
- uses: actions/cache@v2
@@ -184,7 +186,8 @@ jobs:
184186
with:
185187
fetch-depth: 0
186188
- name: Set up Python
187-
uses: actions/setup-python@v2
189+
# TODO: Use "v2" tag once https://github.com/actions/setup-python/issues/171 is resolved.
190+
uses: actions/[email protected]
188191
with:
189192
python-version: "3.7"
190193
- name: Install dependencies

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

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

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

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

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

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

0 commit comments

Comments
 (0)