chore: drop support for Ubuntu 16.04

As of April 2021, it will no longer be an LTS release, and thus us supporting it will increase maintenance burdens.

Also switch CI to use 18.04, so as to test what we currently support.

Closes #4505
This commit is contained in:
Jose Diaz-Gonzalez
2021-03-21 23:31:30 -04:00
parent b00061fa0f
commit 135c7d4b2c
9 changed files with 16 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ on:
jobs:
build:
name: build
runs-on: ubuntu-16.04
runs-on: ubuntu-18.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
strategy:
@@ -41,7 +41,7 @@ jobs:
unit-tests:
name: unit.${{ matrix.index }}
needs: build
runs-on: ubuntu-16.04
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix: ${{fromJson(needs.build.outputs.matrix)}}
@@ -78,7 +78,7 @@ jobs:
docker-deploy-tests:
name: docker
needs: build
runs-on: ubuntu-16.04
runs-on: ubuntu-18.04
strategy:
fail-fast: false
@@ -103,7 +103,7 @@ jobs:
go-tests:
name: go.${{ matrix.index }}
needs: build
runs-on: ubuntu-16.04
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
@@ -143,7 +143,7 @@ jobs:
publish-test-results:
name: publish-test-results
needs: unit-tests
runs-on: ubuntu-16.04
runs-on: ubuntu-18.04
# the build-and-test job might be skipped, we don't need to run this job then
if: success() || failure()