Skip to content

chore: update compatibility list #84

chore: update compatibility list

chore: update compatibility list #84

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run:
strategy:
matrix:
php-version:
- "8.2"
- "8.3"
operating-system:
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.operating-system }}
name: Analyse and test code (PHP ${{ matrix.php-version }}, ${{ matrix.operating-system }})
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
extensions: sqlite, pdo_sqlite, fileinfo
- name: Get composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composercache.outputs.dir }}
key: php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: php-${{ matrix.php-version }}-composer-
- name: Install dependencies
run: composer update --no-interaction --no-progress
- name: PHPStan
run: vendor/bin/phpstan analyse
- name: PHPUnit
run: vendor/bin/phpunit