From 0404f4f7a02ec3298626e0e248f3df30749b1e0c Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 8 Dec 2025 12:09:44 +0100 Subject: [PATCH] ci: Add tests for PHP 8.5 Update GitHub Actions to use checkout@v6 --- .github/workflows/tests.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f6c15b9..b7c7768 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - uses: shivammathur/setup-php@v2 with: @@ -38,9 +38,12 @@ jobs: - php: '8.4' coverage: false composer-flags: '--ignore-platform-req=php' + - php: '8.5' + coverage: false + composer-flags: '--ignore-platform-req=php' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - uses: shivammathur/setup-php@v2 with: @@ -53,7 +56,7 @@ jobs: - name: "Use PHPUnit 9.3+ on PHP 8.0 & PHP 8.1" run: composer require --no-update --dev phpunit/phpunit:^9.3 - if: "matrix.php == '8.0' || matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4'" + if: "matrix.php == '8.0' || matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4' || matrix.php == '8.5'" - run: composer update --no-progress ${{ matrix.composer-flags }} @@ -71,7 +74,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - uses: shivammathur/setup-php@v2 with: @@ -89,7 +92,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - uses: shivammathur/setup-php@v2 with: