Skip to content

Merge pull request #146 from Tofandel/master #58

Merge pull request #146 from Tofandel/master

Merge pull request #146 from Tofandel/master #58

Workflow file for this run

name: PHP Composer
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Validate composer.json
run: composer validate
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Check style
run: composer run-script check-style
- name: Run test suite
run: composer run-script test