From 80f02e4f4435682f9c4a4e0f1b575bf9a557416b Mon Sep 17 00:00:00 2001 From: Alwin Garside Date: Sat, 1 Feb 2025 22:32:26 +0100 Subject: [PATCH] build: setup appropriate PHP version --- .github/workflows/php.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 4202aac..0af4457 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -16,7 +16,15 @@ jobs: php-version: [8.1, 8.2, 8.3, 8.4] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} + tools: composer:v2 + coverage: xdebug - name: Validate composer.json and composer.lock run: composer validate --strict