Skip to content

Commit 3af7170

Browse files
authored
CI fix Code Checks install Python (#50110)
try fixing it Co-authored-by: MarcoGorelli <>
1 parent 2d5d2de commit 3af7170

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/autoupdate-pre-commit-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Set up Python
21-
uses: actions/setup-python@v3
21+
uses: actions/setup-python@v4
2222
- name: Cache multiple paths
2323
uses: actions/cache@v3
2424
with:

.github/workflows/code-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
uses: actions/checkout@v3
3131

3232
- name: Install Python
33-
uses: actions/setup-python@v3
33+
uses: actions/setup-python@v4
3434
with:
35-
python-version: '3.9.7'
35+
python-version: '3.9'
3636

3737
- name: Run pre-commit
3838
uses: pre-commit/[email protected]
@@ -177,7 +177,7 @@ jobs:
177177

178178
- name: Setup Python
179179
id: setup_python
180-
uses: actions/setup-python@v3
180+
uses: actions/setup-python@v4
181181
with:
182182
python-version: '3.8'
183183
cache: 'pip'

.github/workflows/package-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Setup Python
3838
id: setup_python
39-
uses: actions/setup-python@v3
39+
uses: actions/setup-python@v4
4040
with:
4141
python-version: '3.8'
4242

0 commit comments

Comments
 (0)