Skip to content

Commit

Permalink
CI: Remove deprecated runner images
Browse files Browse the repository at this point in the history
* Ubuntu 16.04 was removed in 2021 (actions/runner-images#3287)
* Ubuntu 18.04 will be removed in April (actions/runner-images#6002)
  • Loading branch information
AntiCompositeNumber committed Jan 12, 2023
1 parent 29012fc commit 8bead6b
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,15 @@ jobs:
fail-fast: false
matrix:
include:
# Has php5.6-8.0 and composer 2 pre-installed
# https://github.com/actions/virtual-environments/blob/ubuntu16/20210531.0/images/linux/Ubuntu1604-README.md
- os: ubuntu-16.04
php: "5.6"
# Has php7.1-8.0 and composer 2 pre-installed
# https://github.com/actions/virtual-environments/blob/ubuntu18/20210531.0/images/linux/Ubuntu1804-README.md
- os: ubuntu-18.04
php: "7.2"
- os: ubuntu-18.04
php: "7.3"
# Has php7.4-8.0 and composer 2 pre-installed
# https://github.com/actions/virtual-environments/blob/ubuntu20/20210531.0/images/linux/Ubuntu2004-README.md
# Has php7.4-8.2 and composer 2 pre-installed
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md
- os: ubuntu-20.04
php: "7.4"
# Has php8.1 and composer 2 pre-installed
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md
- os: ubuntu-22.04
php: "8.1"

# Use "PHP 0.0" as job name instead of "php (ubuntu-, 0.0)"
name: PHP ${{ matrix.php }}
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 8bead6b

Please sign in to comment.