Skip to content

Merge pull request #10 from mittwald/chore/more-rector-rules #102

Merge pull request #10 from mittwald/chore/more-rector-rules

Merge pull request #10 from mittwald/chore/more-rector-rules #102

Workflow file for this run

name: PHP type checking and unit testing
on:
push:
branches: [ master ]
pull_request: {}
jobs:
build:
strategy:
matrix:
php-versions: ['8.2', '8.3']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl, json
coverage: pcov
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run type checker
run: ./vendor/bin/psalm --php-version=${{ matrix.php-versions }}