Skip to content

Commit b41142b

Browse files
committed
set up python 3.x
1 parent 4eb7807 commit b41142b

File tree

3 files changed

+20
-17
lines changed

3 files changed

+20
-17
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
with:
3131
submodules: false
3232
fetch-depth: 1
33-
- name: Set up Python 3.8
33+
- name: Set up Python 3
3434
uses: actions/setup-python@v1
3535
with:
36-
python-version: 3.8
36+
python-version: "3"
3737
- name: Get CP deps
3838
run: python tools/ci_fetch_deps.py test ${{ github.sha }}
3939
- name: CircuitPython version
@@ -136,10 +136,10 @@ jobs:
136136
with:
137137
submodules: false
138138
fetch-depth: 1
139-
- name: Set up Python 3.8
139+
- name: Set up Python 3
140140
uses: actions/setup-python@v1
141141
with:
142-
python-version: 3.8
142+
python-version: "3"
143143
- name: Get CP deps
144144
run: python tools/ci_fetch_deps.py mpy-cross-mac ${{ github.sha }}
145145
- name: CircuitPython version
@@ -202,10 +202,10 @@ jobs:
202202
run: |
203203
git describe --dirty --tags
204204
echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags)
205-
- name: Set up Python 3.8
205+
- name: Set up Python 3
206206
uses: actions/setup-python@v1
207207
with:
208-
python-version: 3.8
208+
python-version: "3"
209209
- name: Install dependencies
210210
run: |
211211
sudo apt-get update
@@ -260,10 +260,10 @@ jobs:
260260
board: ${{ fromJSON(needs.test.outputs.boards-arm) }}
261261
if: ${{ needs.test.outputs.boards-arm != '[]' }}
262262
steps:
263-
- name: Set up Python 3.8
263+
- name: Set up Python 3
264264
uses: actions/setup-python@v1
265265
with:
266-
python-version: 3.8
266+
python-version: "3"
267267
- uses: actions/[email protected]
268268
with:
269269
submodules: false
@@ -312,10 +312,10 @@ jobs:
312312
board: ${{ fromJSON(needs.test.outputs.boards-riscv) }}
313313
if: ${{ needs.test.outputs.boards-riscv != '[]' }}
314314
steps:
315-
- name: Set up Python 3.8
315+
- name: Set up Python 3
316316
uses: actions/setup-python@v1
317317
with:
318-
python-version: 3.8
318+
python-version: "3"
319319
- uses: actions/[email protected]
320320
with:
321321
submodules: false
@@ -364,10 +364,10 @@ jobs:
364364
board: ${{ fromJSON(needs.test.outputs.boards-espressif) }}
365365
if: ${{ needs.test.outputs.boards-espressif != '[]' }}
366366
steps:
367-
- name: Set up Python 3.8
367+
- name: Set up Python 3
368368
uses: actions/setup-python@v1
369369
with:
370-
python-version: 3.8
370+
python-version: "3"
371371
- uses: actions/[email protected]
372372
with:
373373
submodules: false
@@ -451,10 +451,10 @@ jobs:
451451
board: ${{ fromJSON(needs.test.outputs.boards-aarch) }}
452452
if: ${{ needs.test.outputs.boards-aarch != '[]' }}
453453
steps:
454-
- name: Set up Python 3.8
454+
- name: Set up Python 3
455455
uses: actions/setup-python@v1
456456
with:
457-
python-version: 3.8
457+
python-version: "3"
458458
- uses: actions/[email protected]
459459
with:
460460
submodules: false

.github/workflows/create_website_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
submodules: false
2222
fetch-depth: 1
23-
- name: Set up Python 3.8
23+
- name: Set up Python 3
2424
uses: actions/setup-python@v1
2525
with:
26-
python-version: 3.8
26+
python-version: "3"
2727
- name: Get CP deps
2828
run: python tools/ci_fetch_deps.py website ${{ github.sha }}
2929
- name: Install deps

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ jobs:
1313
runs-on: ubuntu-20.04
1414
steps:
1515
- uses: actions/[email protected]
16-
- uses: actions/setup-python@v1
16+
- name: Set up Python 3
17+
uses: actions/setup-python@v1
18+
with:
19+
python-version: "3"
1720
- name: Install deps
1821
run: |
1922
sudo apt-add-repository -y -u ppa:pybricks/ppa

0 commit comments

Comments
 (0)