ci: update to ubuntu 22.04 runners

pull/1186/head
Erik Sundell 2022-10-08 14:22:45 +02:00
rodzic e31e33544a
commit de4b71ea37
3 zmienionych plików z 11 dodań i 6 usunięć

Wyświetl plik

@ -27,7 +27,7 @@ on:
jobs:
docker:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3

Wyświetl plik

@ -27,7 +27,7 @@ on:
jobs:
build-n-publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
@ -53,7 +53,7 @@ jobs:
password: ${{ secrets.PYPI_PASSWORD }}
publish-docker:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
DEFAULT_REGISTRY: quay.io
IMAGE_NAME: jupyterhub/repo2docker

Wyświetl plik

@ -40,7 +40,7 @@ env:
jobs:
pre-commit:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
@ -66,11 +66,12 @@ jobs:
test:
needs: pre-commit
runs-on: ubuntu-20.04
runs-on: ubuntu-${{ matrix.ubuntu_version }}"
strategy:
fail-fast: false # Do not cancel all jobs if one fails
matrix:
ubuntu_version: ["22.04"]
python_version: ["3.8"]
repo_type:
- base
@ -84,7 +85,11 @@ jobs:
- unit
- venv
include:
- python_version: "3.6"
# The actions/setup-python action with Python version 3.6 isn't
# possible to use with the ubuntu-22.04 runner, so we use ubuntu-20.04
# for this test where Python 3.6 remain available.
- ubuntu_version: "20.04"
python_version: "3.6"
repo_type: venv
steps: