From a8f1239d296d68d7d5c7974ae9e29b32a64233ec Mon Sep 17 00:00:00 2001 From: Paul Blacknell Date: Mon, 27 Jun 2022 12:07:20 +0100 Subject: [PATCH] chore: remove EOL PHP releases --- .github/workflows/php.yml | 151 ++------------------------------------ 1 file changed, 6 insertions(+), 145 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 68d8090..2725560 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -1,147 +1,8 @@ name: qa on: [push, pull_request] jobs: - PHP5_3: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '5.3' - - - name: Validate composer.json and composer.lock - run: composer validate - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest - - - name: Run PHPUnit - run: vendor/bin/phpunit -c tests/build.xml - PHP5_4: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '5.4' - - - name: Validate composer.json and composer.lock - run: composer validate - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest - - - name: Run PHPUnit - run: vendor/bin/phpunit -c tests/build.xml - - PHP5_5: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '5.5' - - - name: Validate composer.json and composer.lock - run: composer validate - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest - - - name: Run PHPUnit - run: vendor/bin/phpunit -c tests/build.xml - - PHP5_6: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '5.6' - - - name: Validate composer.json and composer.lock - run: composer validate - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest - - - name: Run PHPUnit - run: vendor/bin/phpunit -c tests/build.xml - - PHP7_0: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '7.0' - - - name: Validate composer.json and composer.lock - run: composer validate - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest - - - name: Run PHPUnit - run: vendor/bin/phpunit -c tests/build.xml - - PHP7_1: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '7.1' - - - name: Validate composer.json and composer.lock - run: composer validate - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest - - - name: Run PHPUnit - run: vendor/bin/phpunit -c tests/build.xml - - PHP7_2: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '7.2' - - - name: Validate composer.json and composer.lock - run: composer validate - - - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest - - - name: Run PHPUnit - run: vendor/bin/phpunit -c tests/build.xml - - PHP7_3: + PHP7_4: runs-on: ubuntu-latest steps: - name: Checkout @@ -150,7 +11,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.3' + php-version: '7.4' - name: Validate composer.json and composer.lock run: composer validate @@ -161,7 +22,7 @@ jobs: - name: Run PHPUnit run: vendor/bin/phpunit -c tests/build.xml - PHP7_4: + PHP8_0: runs-on: ubuntu-latest steps: - name: Checkout @@ -170,7 +31,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.0' - name: Validate composer.json and composer.lock run: composer validate @@ -181,7 +42,7 @@ jobs: - name: Run PHPUnit run: vendor/bin/phpunit -c tests/build.xml - PHP8_0: + PHP8_1: runs-on: ubuntu-latest steps: - name: Checkout @@ -190,7 +51,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.1' - name: Validate composer.json and composer.lock run: composer validate