Skip to content

Bump actions/checkout from 3 to 4 #30

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #30

Workflow file for this run

name: test
on:
push:
pull_request:
jobs:
linux_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [7.2, 7.3, 7.4, 8.0, 8.1]
stability: [prefer-stable]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
steps:
- name: Checkout code
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: xdebug
- name: Install dependencies
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress
- name: Code Standard and Static Analysis
run: |
php vendor/bin/phpcs --standard=phpcs.xml
php vendor/bin/phpstan analyse
- name: Execute tests
run: php vendor/bin/phpunit