Skip to content

Commit ecb46f9

Browse files
committed
github/workflows: Use ubuntu-20.04 when python2 is required.
Python 2 is no longer included in the latest Ubuntu 22.04. Signed-off-by: Damien George <[email protected]>
1 parent b705732 commit ecb46f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/mpy_format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
test:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04 # use 20.04 to get python2
1313
steps:
1414
- uses: actions/checkout@v3
1515
- name: Install packages

.github/workflows/ports_unix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
run: tests/run-tests.py --print-failures
9999

100100
nanbox:
101-
runs-on: ubuntu-latest
101+
runs-on: ubuntu-20.04 # use 20.04 to get python2
102102
steps:
103103
- uses: actions/checkout@v3
104104
- name: Install packages

0 commit comments

Comments
 (0)