Skip to content

drop php5

drop php5 #55

Workflow file for this run

name: CI Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['5.x', '7.x', '8.x']
name: Testing PHP ${{ matrix.php-versions }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Check PHP Version
run: php -v
- name: Install Dependencies for PHP ${{ matrix.php-versions }}
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Execute tests against PHP ${{ matrix.php-versions }}
run: composer test
typecheck:
runs-on: ubuntu-latest
name: TypeChecks against PSALM
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.x'
- name: Check PHP Version
run: php -v
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Downloading
run: wget https://github.com/vimeo/psalm/releases/download/5.9.0/psalm.phar
- name: Typechecking
run: php psalm.phar