Skip to content

Add type annotations #16

Add type annotations

Add type annotations #16

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0']
name: PHP ${{ matrix.php-versions }}
steps:
- uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: composer-${{ hashFiles('**/composer.json') }}
- name: Install dependencies
run: composer install --no-progress --prefer-source
- name: Run PHPUnit
run: vendor/bin/phpunit