Skip to content

PHP 8.2

PHP 8.2 #1

Workflow file for this run

name: PHP 8.2
on:
workflow_dispatch:
schedule: # Run monthly
- cron: "14 3 1 * *"
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-22.04] # , ubuntu-20.04, windows-2022, windows-2019, macos-13, macos-12
php: [8.2]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: exif, mbstring, fileinfo, gd
- name: Validate composer.json
run: composer validate --strict
- name: Composer install
run: composer install --prefer-dist --no-progress
- name: Run phpunit (test cases)
run: composer run-script test
- name: Run phpstan
run: composer run-script phpstan
- name: run phpcs (to check coding style)
run: composer run-script phpcs-all