From 6d068ce371722ba31c7fd3474495ad01e5691fb2 Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Mon, 24 Jun 2024 19:20:00 +0100 Subject: [PATCH] Try to fix CI The composer.lock doesn't work for PHP 8.0, so try something different. --- .github/workflows/tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ada4506..34ea39a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1, 8.2] + php: [8.0, 8.1, 8.2, 8.3] experimental: [false] include: - php: 8.2 @@ -26,7 +26,12 @@ jobs: php-version: ${{ matrix.php }} coverage: xdebug - - name: Install dependencies with Composer + - name: Install dependencies with Composer (PHP 8.0) + if: ${{ matrix.php-versions == 8.0 }} + run: rm composer.lock && composer update + + - name: Install dependencies with Composer (PHP 8.1+) + if: ${{ matrix.php-versions >= 8.1 }} uses: ramsey/composer-install@v2 - name: Coding standards