Merge pull request #1852 from dbungert/runners-20.04

workflow: runners to 20.04
This commit is contained in:
Dan Bungert 2023-10-24 11:13:22 -06:00 committed by GitHub
commit 0bcf58b1f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ jobs:
run: sudo ./scripts/test-in-lxd.sh ${{ matrix.image }} "make lint"
format-black:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
@ -47,7 +47,7 @@ jobs:
src: "console_conf subiquity subiquitycore system_setup"
format-isort:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: isort/isort-action@v1
@ -58,7 +58,7 @@ jobs:
static-typing:
# In this job, we compare the output of mypy before and after the PR.
if: github.event_name == 'pull_request'
runs-on: ubuntu-22.04
runs-on: ubuntu-22.04 # minimimum 22.04 for python3-typeshed
steps:
- name: Install mypy and typeshed
run: sudo apt-get install -y python3-mypy python3-typeshed

View File

@ -10,7 +10,7 @@ on:
jobs:
snap-build:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: snapcore/action-build@v1