Skip to content

Register the site when opting in if unregistered. #193

Register the site when opting in if unregistered.

Register the site when opting in if unregistered. #193

Workflow file for this run

name: PHP Compatibility
on:
push:
branches:
- main
pull_request:
jobs:
php-compatibility:
name: PHP Compatibility (PHP ${{ matrix.php-version }})
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ["7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
steps:
- uses: actions/checkout@v3
- name: Configure PHP environment
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: mbstring, intl
coverage: none
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: ramsey/composer-install@v2
with:
dependency-versions: highest
- name: Run PHP Compatibility
run: composer compatibility:php-${{ matrix.php-version }}