Skip to content

Fix the box build process for PHP 8.1 #187

Fix the box build process for PHP 8.1

Fix the box build process for PHP 8.1 #187

Workflow file for this run

name: Run Tests
on:
push:
branches:
- master
pull_request:
jobs:
PHPUnit:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3]
steps:
- name: Configure PHP version
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- uses: actions/checkout@v4
- name: Cache Composer Dependencies
uses: actions/cache@v3
with:
path: vendor/
key: composer-${{ matrix.php }}-${{ hashFiles('composer.*') }}
restore-keys: |
composer-${{ matrix.php }}-${{ github.ref }}
composer-${{ matrix.php }}-
- run: |
composer update --no-interaction --no-scripts --no-progress
composer show
- run: vendor/bin/phpunit