Use Ubuntu 20.04 and remove Ubuntu 18.04 from workflows

- `ubuntu-latest` now resolves to `ubuntu-22.04`. Explicit pinning
  is needed.

- cherry-pick #14238

Signed-off-by: szubersk <szuberskidamian@gmail.com>
This commit is contained in:
szubersk 2022-12-07 16:13:10 +10:00 committed by Brian Behlendorf
parent 8f7826f73b
commit 05732da4d1

View File

@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [18.04, 20.04]
os: [20.04]
runs-on: ubuntu-${{ matrix.os }}
steps:
- uses: actions/checkout@v3