Merge pull request #1852 from dbungert/runners-20.04
workflow: runners to 20.04
This commit is contained in:
commit
0bcf58b1f8
|
@ -38,7 +38,7 @@ jobs:
|
||||||
run: sudo ./scripts/test-in-lxd.sh ${{ matrix.image }} "make lint"
|
run: sudo ./scripts/test-in-lxd.sh ${{ matrix.image }} "make lint"
|
||||||
|
|
||||||
format-black:
|
format-black:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: psf/black@stable
|
- uses: psf/black@stable
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
src: "console_conf subiquity subiquitycore system_setup"
|
src: "console_conf subiquity subiquitycore system_setup"
|
||||||
|
|
||||||
format-isort:
|
format-isort:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: isort/isort-action@v1
|
- uses: isort/isort-action@v1
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
static-typing:
|
static-typing:
|
||||||
# In this job, we compare the output of mypy before and after the PR.
|
# In this job, we compare the output of mypy before and after the PR.
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04 # minimimum 22.04 for python3-typeshed
|
||||||
steps:
|
steps:
|
||||||
- name: Install mypy and typeshed
|
- name: Install mypy and typeshed
|
||||||
run: sudo apt-get install -y python3-mypy python3-typeshed
|
run: sudo apt-get install -y python3-mypy python3-typeshed
|
||||||
|
|
|
@ -10,7 +10,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
snap-build:
|
snap-build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: snapcore/action-build@v1
|
- uses: snapcore/action-build@v1
|
||||||
|
|
Loading…
Reference in New Issue