Skip to content

Commit ef4fd10

Browse files
authored
Backport PR #50110: CI fix Code Checks install Python (#50111)
1 parent 8256870 commit ef4fd10

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-20.04
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

+3-3
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]
@@ -171,7 +171,7 @@ jobs:
171171

172172
- name: Setup Python
173173
id: setup_python
174-
uses: actions/setup-python@v3
174+
uses: actions/setup-python@v4
175175
with:
176176
python-version: '3.8'
177177
cache: 'pip'

0 commit comments

Comments
 (0)