Skip to content

Update php-parser (#78) #57

Update php-parser (#78)

Update php-parser (#78) #57

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
tests:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest', 'windows-latest', 'macOS-latest']
php-version: ['8.1', '8.2', '8.3']
name: PHP ${{ matrix.php-version }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache dependencies
uses: actions/cache@v1
with:
path: /tmp/composer-cache
key: dependencies-composer-${{ hashFiles('composer.json') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
coverage: xdebug
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction --no-suggest
- name: Install phpcs
run: composer global require squizlabs/php_codesniffer
- name: Install phpmd
run: composer global require phpmd/phpmd
- name: Run the build
run: ./build.sh