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 <damien@micropython.org>
pull/10056/head
Damien George 2022-11-23 10:05:54 +11:00
rodzic b705732d5f
commit ecb46f93e0
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04 # use 20.04 to get python2
steps:
- uses: actions/checkout@v3
- name: Install packages

Wyświetl plik

@ -98,7 +98,7 @@ jobs:
run: tests/run-tests.py --print-failures
nanbox:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04 # use 20.04 to get python2
steps:
- uses: actions/checkout@v3
- name: Install packages