Skip to content

Support Laravel 11.x and future #38

Support Laravel 11.x and future

Support Laravel 11.x and future #38

Workflow file for this run

name: Quality Checks
on: [push, pull_request]
jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: 8.1
- name: Lint composer.json
run: composer validate
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Dependency Cache
uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-8.1
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --no-suggest --ignore-platform-reqs
- name: Lint
run: php vendor/bin/parallel-lint src/ tests/
- name: Check Code Styles
run: php vendor/bin/phpcs -p --standard=psr2 --colors src/