Skip to content

add php 8.3 support #11

add php 8.3 support

add php 8.3 support #11

Workflow file for this run

name: "CI"
on:
pull_request:
push:
jobs:
tests:
runs-on: 'macos-latest'
continue-on-error: true
strategy:
fail-fast: true
matrix:
php-version:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
steps:
- name: "Checkout code"
uses: actions/[email protected]
- run: |
set -xe
brew --version
brew tap shivammathur/php
brew install shivammathur/php/php@${{ matrix.php-version }}
./phpswitch.sh ${{ matrix.php-version }} -s
switched=$(php -v | grep -e '^PHP' | cut -d' ' -f2 | cut -d. -f1,2)
if [ "${{ matrix.php-version }}" != "$switched" ]; then
echo "Expected ${{ matrix.php-version }} got $switched"
exit 1
fi