Skip to content

ci: updated dependencies #17

ci: updated dependencies

ci: updated dependencies #17

Workflow file for this run

name: Filter Validation
on:
pull_request:
branches: [ master ]
jobs:
validate:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [7.4, 8.0]
steps:
- id: checkout
name: Checkout repo
uses: actions/checkout@v2
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- id: setup-composer
name: Setup Composer
run: |
php -v
wget -O composer-setup.php https://getcomposer.org/installer
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
- id: composer-validation
name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- id: composer-install
name: Install dependencies
run: composer install --prefer-dist --no-progress
- id: php-unit-tests
name: Run test suite
run: composer test