From 2ae9793f2c2a4f2155ba71b0bfccff9908d31b94 Mon Sep 17 00:00:00 2001
From: Joseph <joseph@verifiedjoseph.com>
Date: Sun, 30 May 2021 18:04:57 +0000
Subject: [PATCH] [CI] Update ubuntu version (16.04 => 20.04) (#2136)

Support for Ubuntu 16.04 (Xenial Xerus) runners is deprecated and will be removed on August 1, 2021
https://github.com/shivammathur/setup-php/issues/452
---
 .github/workflows/lint.yml  | 4 ++--
 .github/workflows/tests.yml | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index e1f37170..f4c40671 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -8,7 +8,7 @@ on:
 
 jobs:
   phpcs:
-    runs-on: ubuntu-16.04
+    runs-on: ubuntu-20.04
     strategy:
       matrix:
         php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
@@ -21,7 +21,7 @@ jobs:
       - run: phpcs . --standard=phpcs.xml --warning-severity=0 --extensions=php -p
 
   phpcompatibility:
-    runs-on: ubuntu-16.04
+    runs-on: ubuntu-20.04
     strategy:
       matrix:
         php-versions: ['5.6', '7.4']
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 29ca71c0..d81cf554 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -8,7 +8,7 @@ on:
 
 jobs:
   phpunit6:
-    runs-on: ubuntu-16.04
+    runs-on: ubuntu-20.04
     strategy:
       matrix:
         php-versions: ['7.0', '7.1', '7.2']
@@ -21,7 +21,7 @@ jobs:
       - run: phpunit --configuration=phpunit.xml --include-path=lib/
 
   phpunit7:
-    runs-on: ubuntu-16.04
+    runs-on: ubuntu-20.04
     strategy:
       matrix:
         php-versions: ['7.1', '7.2', '7.3']
@@ -34,7 +34,7 @@ jobs:
       - run: phpunit --configuration=phpunit.xml --include-path=lib/
 
   phpunit8:
-    runs-on: ubuntu-16.04
+    runs-on: ubuntu-20.04
     strategy:
       matrix:
         php-versions: ['7.3', '7.4']