Skip to content

Merge pull request #27 from codelicia/renovate/actions-checkout-4.x #75

Merge pull request #27 from codelicia/renovate/actions-checkout-4.x

Merge pull request #27 from codelicia/renovate/actions-checkout-4.x #75

Workflow file for this run

name: Continuous Integration
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.1', '8.2']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Checkout the code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install dependencies
run: composer update --prefer-dist --no-progress
- name: Run code style checker
run: composer run phpcs
- name: Run tests
run: composer run test