From 823e84a50be8a1bdbf7121484e808010a2ff543b Mon Sep 17 00:00:00 2001 From: Peter Date: Mon, 4 Sep 2023 14:45:16 +0800 Subject: [PATCH] Add PHP 8.1 and 8.2 version tests --- .github/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30a39ca..c125d1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: operating-system: [ ubuntu-latest ] - php-versions: [ '7.2', '7.3', '7.4', '8.0' ] + php-versions: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ] name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} steps: @@ -34,14 +34,9 @@ jobs: - name: Validate composer.json and composer.lock run: composer validate - - name: Install dependencies for PHP 7 - if: matrix.php-versions < '8.0' + - name: Install dependencies for PHP run: composer update --prefer-dist --no-progress - - name: Install dependencies for PHP 8 - if: matrix.php-versions >= '8.0' - run: composer update --prefer-dist --no-progress --ignore-platform-reqs - - name: Run test suite run: composer check env: