Skip to content

Update actions/checkout action to v4 #2

Update actions/checkout action to v4

Update actions/checkout action to v4 #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ["8.1", "8.2", "8.3"]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, xml, dom
coverage: xdebug
- name: Install Dependencies
run: |
composer update --prefer-dist --no-interaction --no-progress
composer install --prefer-dist --no-interaction --no-progress
- name: Check Code Style
run: composer cs-fix
- name: Static Analysis
run: composer analyse
- name: Run Tests
run: composer test