mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 01:52:15 +02:00
Merge pull request #2982 from jrfnl/feature/ghactions-php-8.3-update
GH Actions: update for release of PHP 8.3
This commit is contained in:
commit
355acdeb61
22
.github/workflows/tests.yml
vendored
22
.github/workflows/tests.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
- name: Set up PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.1'
|
||||
php-version: 'latest'
|
||||
coverage: none
|
||||
tools: cs2pr
|
||||
|
||||
@ -46,10 +46,10 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
php: ['5.5', '7.2', '8.0', '8.1', '8.2']
|
||||
php: ['5.5', '7.2', '8.0', '8.1', '8.2', '8.3']
|
||||
experimental: [false]
|
||||
include:
|
||||
- php: '8.3'
|
||||
- php: '8.4'
|
||||
experimental: true
|
||||
|
||||
name: "Lint: PHP ${{ matrix.php }}"
|
||||
@ -75,11 +75,11 @@ jobs:
|
||||
custom-cache-suffix: $(date -u "+%Y-%m")
|
||||
|
||||
- name: Lint against parse errors
|
||||
if: ${{ matrix.php != '8.3' }}
|
||||
if: ${{ matrix.php != '8.4' }}
|
||||
run: composer lint -- --checkstyle | cs2pr
|
||||
|
||||
- name: Lint against future parse errors (PHP 8.3)
|
||||
if: ${{ matrix.php == '8.3' }}
|
||||
- name: Lint against future parse errors (PHP 8.4)
|
||||
if: ${{ matrix.php == '8.4' }}
|
||||
run: composer lint
|
||||
|
||||
test:
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
|
||||
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
|
||||
coverage: [false]
|
||||
experimental: [false]
|
||||
include:
|
||||
@ -95,12 +95,12 @@ jobs:
|
||||
- php: '5.5'
|
||||
coverage: true
|
||||
experimental: false
|
||||
- php: '8.2'
|
||||
- php: '8.3'
|
||||
coverage: true
|
||||
experimental: false
|
||||
|
||||
# Experimental builds. These are allowed to fail.
|
||||
- php: '8.3'
|
||||
- php: '8.4'
|
||||
coverage: false
|
||||
experimental: true
|
||||
|
||||
@ -123,14 +123,14 @@ jobs:
|
||||
# Install dependencies and handle caching in one go.
|
||||
# @link https://github.com/marketplace/actions/install-composer-dependencies
|
||||
- name: Install PHP packages - normal
|
||||
if: ${{ matrix.php != '8.3' }}
|
||||
if: ${{ matrix.php != '8.4' }}
|
||||
uses: "ramsey/composer-install@v2"
|
||||
with:
|
||||
# Bust the cache at least once a month - output format: YYYY-MM.
|
||||
custom-cache-suffix: $(date -u "+%Y-%m")
|
||||
|
||||
- name: Install PHP packages - ignore-platform-reqs
|
||||
if: ${{ matrix.php == '8.3' }}
|
||||
if: ${{ matrix.php == '8.4' }}
|
||||
uses: "ramsey/composer-install@v2"
|
||||
with:
|
||||
composer-options: --ignore-platform-reqs
|
||||
|
Loading…
Reference in New Issue
Block a user