mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-05-04 18:08:46 +03:00
29 lines
542 B
YAML
29 lines
542 B
YAML
name: lint-php
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- '**.php'
|
|
pull_request:
|
|
paths:
|
|
- '**.php'
|
|
|
|
jobs:
|
|
build:
|
|
if: ${{ github.ref != 'refs/heads/l10n_development' }}
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/library/node:24-trixie
|
|
steps:
|
|
- uses: https://code.forgejo.org/actions/checkout@v6
|
|
|
|
- name: Setup PHP
|
|
uses: https://github.com/shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 8.5
|
|
tools: phpcs
|
|
|
|
- name: Run formatting check
|
|
run: composer lint
|