[github-actions] use setup-python action (#10797)

This commit is contained in:
Jonathan Hui
2024-10-09 07:50:16 -07:00
committed by GitHub
parent 8cb529be2a
commit a79ca11642
7 changed files with 89 additions and 13 deletions
+8
View File
@@ -56,6 +56,10 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.12'
cache: pip
- name: Bootstrap
run: |
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
@@ -92,6 +96,10 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.12'
cache: pip
- name: Bootstrap
run: |
python -m pip install --upgrade pip