Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,22 @@ jobs:
fail-fast: false
matrix:
include:
# Includes php7.4 - 8.3 and composer 2
# https://github.com/actions/runner-images/blob/releases/ubuntu20/20241023/images/ubuntu/Ubuntu2004-Readme.md#php-tools
- php: '7.4'
os: ubuntu-20.04
- php: '8.0'
os: ubuntu-20.04
- php: '8.1'
os: ubuntu-20.04
- php: '8.2'
os: ubuntu-20.04
- php: '8.3'
os: ubuntu-20.04

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use PHP ${{ matrix.php }}
run: sudo update-alternatives --set php /usr/bin/php${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Validate composer.json and composer.lock
run: composer validate
Expand Down