mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
38 lines
848 B
YAML
38 lines
848 B
YAML
name: Laravel Pint
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [master]
|
|
paths: ['web/documentserver-example/php-laravel/**']
|
|
pull_request:
|
|
branches: [master, develop]
|
|
paths: ['web/documentserver-example/php-laravel/**']
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
php: [8.2]
|
|
defaults:
|
|
run:
|
|
working-directory: ./web/documentserver-example/php-laravel
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php }}
|
|
extensions: json, dom, curl, libxml, mbstring
|
|
coverage: none
|
|
|
|
- name: Install Pint
|
|
run: composer global require laravel/pint
|
|
|
|
- name: Run Pint
|
|
run: pint --test
|