This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
Fix pipelines #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [ push, pull_request ] | |
jobs: | |
build: | |
name: Checking coding standards | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
php-versions: | |
- "7.4" | |
- "8.1" | |
dependencies: | |
- "lowest" | |
- "highest" | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Configure PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
tools: composer:v2 | |
coverage: xdebug | |
extensions: bcmath, gd | |
- name: Install Composer dependencies | |
run: composer install | |
- name: GrumPHP | |
run: ./vendor/bin/grumphp run |