Files
BookStack/.forgejo/workflows/lint-php.yml
2026-04-27 13:36:47 +01:00

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