Skip to content

Check for connections #39

Check for connections

Check for connections #39

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
php: ['7.3', '7.4', '8.2', '8.3']
runs-on: ubuntu-latest
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-${{ matrix.php }}-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run tests
run: vendor/bin/phpunit