Skip to content

Update GH Actions checkout version #53

Update GH Actions checkout version

Update GH Actions checkout version #53

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
tests:
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: ["8.0", "8.1", "8.2", "8.3", "8.4"]
stability: [prefer-lowest, prefer-stable]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: ./vendor/bin/phpunit --verbose