[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
This commit is contained in:
Joseph 2021-05-30 18:04:57 +00:00 committed by GitHub
parent f02d80e141
commit 2ae9793f2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ on:
jobs: jobs:
phpcs: phpcs:
runs-on: ubuntu-16.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4'] 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 - run: phpcs . --standard=phpcs.xml --warning-severity=0 --extensions=php -p
phpcompatibility: phpcompatibility:
runs-on: ubuntu-16.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
php-versions: ['5.6', '7.4'] php-versions: ['5.6', '7.4']

View file

@ -8,7 +8,7 @@ on:
jobs: jobs:
phpunit6: phpunit6:
runs-on: ubuntu-16.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
php-versions: ['7.0', '7.1', '7.2'] php-versions: ['7.0', '7.1', '7.2']
@ -21,7 +21,7 @@ jobs:
- run: phpunit --configuration=phpunit.xml --include-path=lib/ - run: phpunit --configuration=phpunit.xml --include-path=lib/
phpunit7: phpunit7:
runs-on: ubuntu-16.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
php-versions: ['7.1', '7.2', '7.3'] php-versions: ['7.1', '7.2', '7.3']
@ -34,7 +34,7 @@ jobs:
- run: phpunit --configuration=phpunit.xml --include-path=lib/ - run: phpunit --configuration=phpunit.xml --include-path=lib/
phpunit8: phpunit8:
runs-on: ubuntu-16.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
php-versions: ['7.3', '7.4'] php-versions: ['7.3', '7.4']