Skip to content

Commit 1401c47

Browse files
authored
Install python from pyenv for coverity check and pre-commit checks (#5297)
The last known places where there may be a potential problem with the Python installation on self-hosted runners on 25.04. Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 032f7cf commit 1401c47

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ jobs:
7878
path: $HOME/.cache/pip
7979
key: pip-3.10-${{ hashFiles('.pre-commit-config.yaml') }}-${{ env.CACHE_NUMBER }}
8080

81-
- name: Install Python 3.10
82-
uses: actions/setup-python@v6
81+
- name: Install Python (from pyenv)
82+
uses: ./.github/actions/setup-pyenv-python
8383
with:
8484
python-version: '3.10'
8585

.github/workflows/coverity.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
run: |
2525
sudo apt install -y file
2626
27-
- name: Install Python 3.10
28-
uses: actions/setup-python@v6
27+
- name: Install Python (from pyenv)
28+
uses: ./.github/actions/setup-pyenv-python
2929
with:
3030
python-version: '3.10'
3131

0 commit comments

Comments
 (0)